Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: "ee" in Regular Expression: version issue?

by ikegami (Pope)
on Dec 04, 2012 at 11:38 UTC ( #1007072=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $var =~ s/$lhs/$rhs/ee;
    
  2. or download this
    $var =~ s/$lhs/eval $rhs/e;
    
  3. or download this
    $rhs = '"$1$2$3"';
    
  4. or download this
    $rhs = '$1.$2.$3';