Syntactic Confectionery Delight | |
PerlMonks |
Re: String Replaceby gwadej (Chaplain) |
on Jun 17, 2009 at 18:07 UTC ( [id://772502]=note: print w/replies, xml ) | Need Help?? |
Change the last line to:
s/// does a regular expression substitute, you need \Q to quote meta-characters so they are matched exactly.
G. Wade
In Section
Seekers of Perl Wisdom
|
|