[htmltmpl] Announce: HTML::Template::Dumper

2003-11-20 Thread Timm Murray
As previously discussed on Perl Monks (http://www.perlmonks.org/index.pl?node_id=307736), HTML::Template::Dumper is almost ready for upload on CPAN. This module subclasses HTML::Template to dump out the data structure used to fill in the template in a serialized form. Once a remote script des

Re: [htmltmpl] filter question

2003-11-20 Thread Sam Tregar
On Thu, 20 Nov 2003, Chisel Wright wrote: > What'd I'd like to do is have access to $self in _filter_sections() so I > can have something along these lines: No problem. Just create a little anonymous sub when you setup the filter. 'filter' => [ { 'sub'=> sub { $self->_filter

RE: [htmltmpl] Comparing H::T:Expr variables

2003-11-20 Thread Chris
Thank you everybody for your excellent help! Removing just HTML:Template-> did the trick!! And yes, this was real code from a script, but it was only a test script. I always use strict :) Thanks again everybody, everything is working great because of you all, especially Matt. Thanks!! > -

[htmltmpl] filter question

2003-11-20 Thread Chisel Wright
Hi, I've just hit a mental block, and I don't know if it's something that's not possible, or I'm just being stupid. I'm using H::T wrapped inside a package: sub template($$) { ... $self->{'tpl'} = HTML::Template->new( ... 'filter' => [ { 'sub' => \&_filter_sections,