As well as the tutorials mentioned above I'd also look at the HTML::Template manpage. Its very detailed and useful. As far as the code you have here in order to set a template variable you have to use a param call like this
$template->param(some_var_name=>'foo');
Then in your template file something like this:
After running you would get a page that said 'foo'. Hope that helps<html><body> <tmpl_var name="some_var_name"> </body> </html>
Chris
In reply to Re: About HTML::Template
by cfreak
in thread About HTML::Template
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |