There are already large numbers of templating systems for Perl on the CPAN. Why waste your own time inventing another one?
But if you insist, you should probably look at the substitution operator, s/// and, particularly, the /e switch.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Digging interpolation deeper
by davorg
in thread Digging interpolation deeper
by DeusVult
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |