Getting data from template?

Lyle <[email protected]> Thu, 29 Jan 2009 03:21:59 +0000
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Hi All,
  I'm trying to find a way to get data into my script from my template.
I've tried:-
<tmpl_var name=test default="HELLO!">
And then after loading the template in my code:-
print $template->param( 'test' );

But that doesn't work. Is there a way to pickup data from a template 
you've read in?


Lyle


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword