Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Text::Template

by PotPieMan (Hermit)
on Oct 23, 2001 at 03:49 UTC ( [id://120659]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %vars = ('measurements' => {'temperature' => {'current' => '22 degC
    +',
                                                     'high' => '26 degC',
                                                     'low' => '18 degC'
    ...
    
    my $tt = Text::Template->new(SOURCE => $templateFile) or die "Couldn't
    + construct template: $Text::Template::ERROR";
    my $weather = $tt->fill_in(HASH => \%vars);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-09-14 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.