>>> <[EMAIL PROTECTED]> 02/10/2004 23:41:36 >>> > >Anyone ideas on what is going on? Any suggestions welcome. > >Thanks in advance, >-Ken
Hi Ken, Try this instead (below), noticed that I pass the DATA fileglob (*DATA) directly to HTML::Template->new Carl #!/usr/bin/perl use strict; use warnings; Foo->run(); package Foo; use HTML::Template; sub run{ my $template = HTML::Template->new(filehandle => *DATA, die_on_bad_params=>1, strict=>1); $template->param(VALUE=>'xx'); print $template->output; } 1; __DATA__ <html> <head> </head> <body> <TMPL_VAR NAME=VALUE> </body> </html> [EMAIL PROTECTED] DBWebForm]$ ./Foo.pm <html> <head> </head> <body> xx </body> </html> ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users