Re: .uri() scalar vmethod?

Dave Howorth <dhoworth-fDajt2Yx3S8pY9vWkoisglpr/1R2p/[email protected]> Tue, 31 Jul 2012 15:56:34 +0100
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Organization MRC Laboratory for Molecular Biology
Message-ID <[email protected]>
Felipe Gasper (cPanel) wrote:
> Any chance this could make it into a forthcoming TT release?
> 
> our $TEXT_VMETHODS = {
> ...
>     dquote      => \&text_dquote,
>     html        => \&Template::Filters::html_filter,
>     xml         => \&Template::Filters::xml_filter,
>     uri         => \&Template::Filters::uri_filter,
> };
> 
> 
> It seems like it’d be very (and conspicuously?) useful.

Pardon my ignorance but what's the advantage of a vmethod over a filter
for html, xml & uri? And isn't dquote already a vmethod?

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates