in reply to HTML::Template, CGI - concatenating strings & variables
Just like you didn't quote $CGI. However, you really should do a little error checking first. Also, don't explicitly print out the content header if you are using CGI.pm:my $template = HTML::Template->new( filename => $rpt_tmpl, associate => $CGI, );
You are much less prone to making mistakes when you let CGI.pm print the header.print $CGI->header;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTML::Template, CGI - concatenating strings & variables
by Lori713 (Pilgrim) on Nov 17, 2003 at 15:09 UTC | |
by jeffa (Bishop) on Nov 17, 2003 at 18:59 UTC | |
by Lori713 (Pilgrim) on Nov 17, 2003 at 20:15 UTC | |
by jeffa (Bishop) on Nov 17, 2003 at 20:20 UTC | |
by Lori713 (Pilgrim) on Nov 17, 2003 at 20:38 UTC | |
by jgallagher (Pilgrim) on Nov 17, 2003 at 20:26 UTC |