Bill Moseley wrote:
> But the VMethod "user_time" would need access to the stash.

In these situations a plugin might be what you want.  The plugin gets
a context reference as the first argument and can call define_vmethod
to register the vmethod (a closure containing the context/stash reference
or variable values pre-fetched from the stash).

HTH
A


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

Reply via email to