Help for this page

Select Code to Download


  1. or download this
    $_="FourThreeTwoOne, Three, Four, One, Two";
    $1="Three";
    $second="&&&&";
    s/$2/$second/g;
    print;
    
  2. or download this
    $1="Three";
    
  3. or download this
    s/$2/$second/g;
    
  4. or download this
    {
        local $_="FourThreeTwoOne, Three, Four, One, Two";
        # ...
    }
    
  5. or download this
    use strict;
    use warnings;
    
  6. or download this
    my $second="&&&&";