Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
go ahead... be a heretic
 
PerlMonks  

Re: Template Toolkit, problem with recursive wrapper templates

by mugwumpjism (Hermit)
on Jul 12, 2005 at 05:48 UTC ( #474165=note: print w/ replies, xml ) Need Help??


in reply to Template Toolkit, problem with recursive wrapper templates

That's a real bummer. Especially since WRAPPER classes are by their nature likely to be used more than once in a single call stack.

If I were you, I'd consider hacking the Template Toolkit modules themselves so that they don't do this check for WRAPPER directives, and sending a patch to the TT list for discussion.

$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";


Comment on Re: Template Toolkit, problem with recursive wrapper templates
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-04-18 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (461 votes), past polls