Help for this page

Select Code to Download


  1. or download this
    for (1..4) {
       my $x;
       print ++$x, " ", \$x, "\n";
       sub { $y = $x };
    }
    
  2. or download this
    for (1..4) {
       my $x;
       print ++$x, " ", \$x, "\n";
       sub bob { $y = $x };
    }