Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Template Toolkit 2

by Masem (Monsignor)
on Apr 14, 2001 at 16:57 UTC ( #72572=modulereview: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Template;
    my $tt = Template-new();
    ...
                  array_param => \@array,
                  hash_param => \%hash
                                            } ) or die $tt->error();
    
  2. or download this
    Hello [% name %], how are you doing on this fine
    [%- IF hour < 11 -%]
    ...
    evening
    [%- END -%]
    ?
    
  3. or download this
    #
    # .. from perl ..
    ...
    [% FOREACH grade = data.grades %]
      [% grade %]
    [% END %]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2021-11-28 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?