Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Template Toolkit example getting blank output page

by marto (Bishop)
on Sep 24, 2012 at 10:57 UTC ( #995351=note: print w/replies, xml ) Need Help??


in reply to Template Toolkit example getting blank output page

See the various examples in the Template documentation for the Process method. You need to define how you'd like it to output. For example:

my $output=''; $tt->process('main.html',$data, \$output) || die $tt->error(); print $output;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2016-08-31 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (435 votes). Check out past polls.