Don't ask to ask, just ask | |
PerlMonks |
Re: How do I avoid double substitution when replacing many patterns?by barbie (Deacon) |
on Jan 26, 2007 at 15:55 UTC ( [id://596737]=note: print w/replies, xml ) | Need Help?? |
You might want to take a look at Data::Phrasebook, as this handles things a little better. Using your example the following works:
where phrases.txt use the default parameter substitution and looks like:
While there is support for TT style parameter substitution, it doesn't current support a TT embeded templating system. Might be a possibility for the future, but would be a little overkill for this problem ;)
--
In Section
Seekers of Perl Wisdom
|
|