Re: [htmltmpl] ELSE bug

2005-08-10 Thread Sam Tregar
On Wed, 10 Aug 2005, Mitar wrote: > 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. Nope, that's a bug. Could you report it on rt.cpan.org? That will ensure that I don't forget to fix it for the next release. Thanks, -sam

[htmltmpl] ELSE bug

2005-08-10 Thread Mitar
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. 1. 2. 3. Af