I would advise you to check out the following write up on using html::template.
http://www.perlmonks.org/?node_id=65642 You need to set all of your param and then:: print $template->output; Level 3 Communications Brandon Wood (Via Blackberry) ----- Original Message ----- From: Lyle <webmas...@cosmicperl.com> To: html-template-users@lists.sourceforge.net <html-template-users@lists.sourceforge.net> Sent: Wed Jan 28 20:21:59 2009 Subject: [htmltmpl] Getting data from template? 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 _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users