Help for this page

Select Code to Download


  1. or download this
    my $i=1;
    $i=~/(.)/;
    ...
        print "second: \$1 = $1\n";
    }
    print "after: \$1 = $1\n";
    
  2. or download this
    $i = 2
    first:  $1 = 1
    ...
    first:  $1 = 3
    second: $1 = 3
    after: $1 = 1