Don't ask to ask, just ask | |
PerlMonks |
Re: Using string literal in regexpby sh1tn (Priest) |
on Jun 16, 2006 at 17:43 UTC ( [id://555842]=note: print w/replies, xml ) | Need Help?? |
You should use qr operator. If the character is special one, escape it with '\'. You may want to read this manual - perlre
In Section
Seekers of Perl Wisdom
|
|