[htmltmpl] Encode parameters (feature request?)
Brought to you by:
samtregar
From: Dan H. <dan...@re...> - 2005-06-23 22:39:56
|
I guess this is a new feature request, but I'd like to be able to encode the parameters passed to HTML::Template automatically. So instead of use HTML::Entities; .. etc .. $template->param('my_content', encode_entities($my_content)); I'd like to be able to do: my $template = HTML::Template->new( filename => 'file.tmpl', encode => 1 ); Regards Dan |