On Mon, May 24, 2010 at 11:16 AM, E R <[email protected]> wrote: > An alternative would be to implement "myfilter" as a virtual method and use: > > [% myhashref.myfilter %]
I usually prefer to just pass a reference to a sub in the stash and use it in templates: [% myfilter(myhashref) %] - Perrin _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
