Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Character replacementby kutsu (Priest) |
on Dec 22, 2008 at 08:33 UTC ( [id://731987]=note: print w/replies, xml ) | Need Help?? |
Have you ever considered using a Database or/and a Template system for this? I'd look at the DBI module and Template::Toolkit for this. After that it's a simple regex based on the hash (which I'm sure at least 3 regex solutions will be posted by the time I'm finished writing this).
In Section
Seekers of Perl Wisdom
|
|