XP is just a number | |
PerlMonks |
Re: Answer: How do I replace a substring (if exists) with a different substring in a string?by choroba (Cardinal) |
on Jun 25, 2016 at 19:57 UTC ( [id://1166564]=note: print w/replies, xml ) | Need Help?? |
I'd add quotemeta to $find as it can contain characters with special meanings in regular expressions.
In Section
Seekers of Perl Wisdom
|
|