![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re: Matching strings with non-word charactersby Tanktalus (Canon) |
on Apr 17, 2006 at 13:19 UTC ( [id://543809]=note: print w/replies, xml ) | Need Help?? |
That's because \ is a special character. Thus, you need to escape it if you want it to appear literally. To escape it, just use a backslash - thus, you get m'X\\ '. Although I think the single-quote as a seperator is a bit wierd.
In Section
Seekers of Perl Wisdom
|
|