Perl: the Markov chain saw | |
PerlMonks |
Re: Make a variable safe for a regex.by jettero (Monsignor) |
on Feb 25, 2007 at 21:56 UTC ( [id://602051]=note: print w/replies, xml ) | Need Help?? |
You want \Q and \E as indicated on perlre. They're perhaps a little obscure and arcane, but powerful and awesome.
-Paul
In Section
Seekers of Perl Wisdom
|
|