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,
In reply to Re: Learning Template Toolkit Module
by trwww
in thread Learning Template Toolkit Module
by jedikaiti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |