[htmltmpl] Re: ELSE bug

2005-08-10 Thread Mark Stosberg
On 2005-08-10, Sam Tregar <[EMAIL PROTECTED]> wrote: > 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 th

[htmltmpl] ANN: HTML::Template::Plugin::Dot

2005-08-10 Thread Mark Stosberg
You can now use much of Template Toolkit's dot notation with HTML::Template-- HTML::Template::Plugin::Dot has been uploaded to CPAN: http://search.cpan.org/~rhesa/HTML-Template-Pluggable-0.01/lib/HTML/Template/Plugin/Dot.pm It's a needs a minor patch to HTML::Template to work inside loops, which

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