If you're doing a lot of this kind of thing then maybe you should consider one of the many templating systems available from the CPAN. I'm a particular fan of the Template Toolkit.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: hashes in regexes
by davorg
in thread hashes in regexes
by DeusVult
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |