Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

testing: CGI::Application->tmpl_path()

by mandog (Curate)
on Oct 27, 2008 at 21:21 UTC ( [id://719836]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ....
      $self->tmpl_path(
    ...
            ]
        );
    ...
    
  2. or download this
       my $tmpl = $self->load_tmpl('login.tmpl')
            or die "Failed to open template file 'login.tmpl'";
    
  3. or download this
    use Test::Exception;
    ...
    ...
        $app->tmpl_path( [] );
        dies_ok { $app->run() } 'dies if missing template file';
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://719836]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found