Syntactic Confectionery Delight | |
PerlMonks |
Re: Templating algorithm - pass in variables vs callback?by merlyn (Sage) |
on Mar 01, 2005 at 11:47 UTC ( [id://435370]=note: print w/replies, xml ) | Need Help?? |
In template toolkit:
From the template, you use both "lazy" and "easy" the same way. Except that "lazy" is a coderef. That's what's cool about TT: the call is the same. I seem to recall a module that does this for you. Yes, Data::Lazy. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|