![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: correct usage of q, quotemeta, with s///by termix (Beadle) |
on May 30, 2002 at 22:36 UTC ( #170536=note: print w/replies, xml ) | Need Help?? |
You have a single space before and a single space after both the strings. Is that a required effect? Notice:
... will output ... nospaceLOTSnospace space LESS space The first "LOTS" does not get replaced because you are replacing " LOTS " (space before and after) with " LESS " -- termix
In Section
Seekers of Perl Wisdom
|
|