Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Template Toolkit example getting blank output page

by marto (Archbishop)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2018-06-24 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?