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

Template Toolkit 2

by Masem (Monsignor)
on Apr 14, 2001 at 16:57 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found