Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    $f1 = aa; $f2 = bb
    $1 = aa; $2 = bb
    $f1 = ; $f2 =
    
  2. or download this
    use strict;
    
    ...
    $f1 = aa; $f2 = bb
    $1 = XX; $2 = bb
    $f1 = ; $f2 =
    
  3. or download this
    ($_ = "ABCD") =~ /(..)(..)/;
    print "$1, $2\n";
    ...
    __END__
    AB, CD
    AB, CD
    
  4. or download this
    () = ($_ = "ABCD") =~ /(..)(..)/;
    print "$1, $2\n";
    ...
    __END__
    AB, CD
    WX, YZ