Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Learning Template Toolkit Module

by trwww (Priest)
on Mar 10, 2010 at 22:22 UTC ( #827909=note: print w/replies, xml ) Need Help??


in reply to Learning Template Toolkit Module

Hello,

Here is a one-liner that gives you the gist of how it works:

$ perl -MTemplate -le 'Template->new->process(\"foo is: [% foo %]\nbaz +z is: [% bazz %]", {foo => "bar", bazz => "quxx"})' foo is: bar bazz is: quxx

The documentation has plenty of examples, so methinks you're just not looking at what is sitting in front of you. There is also a book you can get if that makes it easier.

regards,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2019-03-24 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (115 votes). Check out past polls.

    Notices?