On Fri, 17 Jan 2003 at 14:29, Hughes, Andrew opined: HA:My problem had to do with the content header. I also did not realize that HA:you are supposed to point the .pl file in the browser. Rookie mistakes! HA: HA:As far as the <TMPL_VAR> tags, all of the tutorials that I have seen look HA:like this <TMPL_VAR NAME=SECRET_MESSAGE> -- as opposed to <TMPL_VAR HA:SECRET_MESSAGE>.
it can be done either way: #!/usr/bin/perl -w use strict; use HTML::Template; my %data = ( ONE => '&one', TWO => ' /two' ); my $template = HTML::Template->new(filename => 'onetwo.tmpl'); $template->param(%data); print "Content-type: text/html\n\n"; print $template->output; if 'onetwo.tmpl' contains either the following: <TMPL_VAR ESCAPE=HTML ONE> <TMPL_VAR ESCAPE=URL TWO> or this: <TMPL_VAR ESCAPE=HTML NAME=ONE> <TMPL_VAR ESCAPE=URL NAME=TWO> the output is always: Content-type: text/html &one %20%2Ftwo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]