I'm trying to run the following HTML::Template simple example : use HTML::Template;
# open the html template my $template = HTML::Template->new(filename => "treeTest.tmpl"); # fill in some parameters $template->param(Title => "Pierre",IMAGE_SRC => "vignette.gif"); # send the obligatory Content-Type print "Content-Type: text/html\n\n"; # print the template print $template->output; with this template : <center><TMPL_VAR NAME=Title></center> <br><br> <br><br> <IMG SRC="<TMPL_VAR NAME=IMAGE_SRC>"> with the following starnge error (The Title is displayed but not the vignette.gif file) [Mon Aug 19 07:22:24 2002] [error] Missing right curly or square bracket at /Library/WebServer/Documents/perl/vignette.gif line 1, at end of line syntax error at /Library/WebServer/Documents/perl/vignette.gif line 1, at EOF Could anybody help me to fix it ? Pierre Vaudrey email [EMAIL PROTECTED]