in reply to HTML::Template, two warnings, part two.
"... I no longer see two warnings."
do you mean you only see one warning, or no warnings. Every time i ran my script, i always saw one warning in the error log. The HTML looked just like it was suppose to. I really don't see what the problem is ...Here is another version of your test case, one that uses DATA to store the template. I prefer to use DATA for 'self contained' test cases. Also, please use CGI::header() - but you don't have to. ;)
use strict; use warnings; use HTML::Template; use CGI qw(header); my $ht = HTML::Template->new(filehandle=>*DATA); $ht->param(testloop=>[{},{}]); print header, $ht->output; warn "_____TEST_____\n"; __DATA__ <html> <head> </head> <body> <tmpl_loop testloop> <img src=> </tmpl_loop> </body> </html>
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)
|
|---|