go ahead... be a heretic | |
PerlMonks |
Re: Custom Module Workby djohnston (Monk) |
on Jun 06, 2005 at 21:53 UTC ( [id://464103]=note: print w/replies, xml ) | Need Help?? |
Try adding local *tpl; early within the parse method of template.pm. This might get you to second base, but you're still better off with a templating module (from CPAN). Although many boast about how easy it is to write a template parser, it isn't - particularly if you want one that is truely easy to use, extensible, flexible, and so on. I should know, I've (sadly) been reinventing the wheel for many years.
Update:
In Section
Seekers of Perl Wisdom
|
|