Think about Loose Coupling | |
PerlMonks |
Re^2: Substitution with regexes in variablesby JadeNB (Chaplain) |
on Nov 15, 2009 at 07:38 UTC ( [id://807232]=note: print w/replies, xml ) | Need Help?? |
It is probably better to use Text::Balanced's extract_quotelike function rather than hand-rolling a substitution parser. (At least, the documentation suggests that it will handle s///'s correctly; and your code makes no effort to handle differently delimited patterns, among the (I assume) many other possible perversions.)
In Section
Seekers of Perl Wisdom
|
|