If I create a filter for HT do I have to pass it in a certain way?
sub doc_filter {
my $text_ref = shift;
$$text_ref =~ s|<doc>.*?</doc>||gx;
}
I thought I was supposed to pass it here:
my $tpl = $self->load_tmpl( 'home.tpl', filter => \&doc_filter );
But that doesn't seem to have done the trick...
Robert
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.