I have a filter I'd really like to apply to objects but FILTERs seem to stringify their "content." Hence, they flatten objects.

Any clues? Is this something worth trying to patch in TT itself (if it wouldn't break anything else, I haven't looked that deeply yet).

Barring that, is there another way to get the context in an OP. I can certainly do something like

 $Template::Stash::ROOT_OPS->{blah} = sub { ... }

But I need have the access to the TT context that a dynamic filter allows.


–Ashley


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

Reply via email to