Do you know where your variables are? | |
PerlMonks |
Re: not able to replace the element in the middle of the stringby Ratazong (Monsignor) |
on Jul 12, 2016 at 05:42 UTC ( [id://1167595]=note: print w/replies, xml ) | Need Help?? |
Do a bit research what ^ and $ mean in the context of a regular expression. Then it will become clear why your replacement won't work. Happy learning! Rata PS.: a good start is here: planetscapes collection
In Section
Seekers of Perl Wisdom
|
|