Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995351]
[LanX]: a friend of mine learned French with her African boyfriend ... I have to force my stop grinning when I hear a little blonde who adopted that accent
LanX .oO( *you* don't exist, I'm only messaging to *me* self)
LanX will abandon FF soon

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-03-27 16:33 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.