Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Default filter in TT

by morgon (Deacon)
on Jan 01, 2011 at 19:00 UTC ( #880016=note: print w/ replies, xml ) Need Help??


in reply to Re: Default filter in TT
in thread Default filter in TT

Thanks for the reply, however I use TT to generate all sorts of stuff (not only html) and would like to know if there is a general solution.

For me wanting to apply some filter (or even a whole chain of them) to all variables in a template is such a natual requirement that I am surprised that I cannot find anything in the documentation but I would be surprised if it would not exist...


Comment on Re^2: Default filter in TT
Replies are listed 'Best First'.
Re^3: Default filter in TT
by tinita (Parson) on Jan 01, 2011 at 19:04 UTC
    Then I would look at the source of Template::HTML to see how it is implemented. It doesn't look very complicated at a first glance. seems it is necessary to subclass 4 Template::* classes though.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://880016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2015-07-07 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls