Hi!
I have found a bug (or at least I think it is a bug and not a feature).
For a really simple program:
#!/usr/bin/perl -w
use strict;
use HTML::Template;
my $template = HTML::Template->new('filename'=>"test.tmpl");
print $template->output;
And this invalid template:
Before.
<TMPL_IF NAME="TEST">
1.
<TMPL_ELSE>
2.
<TMPL_ELSE>
3.
</TMPL_IF>
After.
HTML::Template does not output any error and just simply outputs the 2. case.
I think that HTML::Template should report this. Or is there some reason for it?
I use the 2.7 version and Perl 5.8.4.
Best regards
Mitar
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users