more useful options | |
PerlMonks |
Re: Re: Template Toolkit 2 and subroutinesby marcink (Monk) |
on Oct 09, 2001 at 18:12 UTC ( [id://117739]=note: print w/replies, xml ) | Need Help?? |
There are all kinds of things you CAN do in TT, but that doesn't mean you should do them. I'm quite well aware of that, but thanks for reminding anyway ;) What I want to do is really simple output processing (like substituting for spaces in menus). I think that's something I can safely do in a template -- if not, I'll be happy to hear why before I go too far in a wrong direction :) I checked merlyn's examples. Here are the results: Template:
And the result:
So the latter does exactly what I need. Thanks for both answers. -marcink
In Section
Seekers of Perl Wisdom
|
|