Please, do.
True, it is a common rite of passage. True, there are dozens available on CPAN, true, you should study those. Odds are you're not going to beat something like Text::Template
But false, writing your own is not a waste of time. It's a great way to focus on the issues involved in what a template system should do and on what you really want it to do.
I don't think there is any substitute for learning by doing. Studying the derivation of Fermi's Golden Rule #2* is, speaking from direct experience, far less enlightening than closing the book and deriving it starting from a blank sheet of paper.
All, IMHO, of course.
scott
* Roughly, Fermi's Golden Rule #2 is a general expression for the transition rate of a quantum system, per unit time, from some initial state to some final state, where the situation is complicated enough to require being modeled as a perturbation of some more simple situation. Got all that? Pop quiz tomorrow. :)
In reply to Re: A quick and dirty template system
by scott
in thread A quick and dirty template system
by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |