Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: qr// and user provided regex patterns...

by misterMatt (Novice)
on Jul 31, 2009 at 19:58 UTC ( #784983=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $pattern = eval "qr$pattern" or die $@;
  2. or download this
    s/Bill Clinton/The ex-President/gi on Bill Clinton is the ex-President
    +. bill clinton. results in Failure.