Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Template Toolkit: template paths, INCLUDE_PATH, error

by 7stud (Deacon)
on Jan 06, 2015 at 11:25 UTC ( [id://1112325]=note: print w/replies, xml ) Need Help??


in reply to Template Toolkit: template paths, INCLUDE_PATH, error

All that typing for nothing :(. After adding:
use CGI; use CGI::Carp qw{ fatalsToBrowser };
...which I previously removed--thinking that might be a source of the error--I was notified of the error at the end of this line:
INCLUDE_PATH => '/Users/7stud/perl_programs/cgi_projects/1proj')<---
After removing the stray parenthesis, then I was notified of this error:
my $tname = 'templates/form.html'; ... $template->process($file, $vars) #$tname <--> $file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-18 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found