Help for this page

Select Code to Download


  1. or download this
    $foo = $bar;
    $foo =~ s/this/that/;
    
  2. or download this
    $foo = $bar =~ s/this/that/;
    #which will return the result of a substitution  
    #because of the lower priority of assignment operator