Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Text::Template

by PotPieMan (Hermit)
on Oct 23, 2001 at 03:49 UTC ( #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
Node Status?
node history
Node Type: note [id://120659]
help
Chatterbox?
[erix]: ha, good stuff - loud and fast...
[stonecolddevin]: here's some Mastodon for when you have 13 minutes to have your mind blown: https://www. youtube.com/watch? v=4pvfQtUhtNE
[karlgoethebier]: goes to Brownsville one more time..
erix squirrels away the linkies

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-06-22 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.