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 (Cardinal)
on Sep 24, 2012 at 10:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://995351]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found