Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Recursive substitutionby JadeNB (Chaplain) |
on Nov 10, 2009 at 04:32 UTC ( [id://806120]=note: print w/replies, xml ) | Need Help?? |
Thanks very much. I realised shortly after posting that I hadn't explained why I didn't want the most natural answer (current explanation: because I don't, that's why), but didn't update my post in time. By the way, I think that s/$pat/$sub/ is (effectively) a no-op unless m/$pat/, so I think that it's redundant to do a separate m/$pat/ check.
In Section
Seekers of Perl Wisdom
|
|