Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w    #!/usr/local/bin/perl -w
    use strict;                 use strict;             
    ...
    sub investigate {           sub investigate {
      print "\$i=$i\n";           print "\$i=$i\n";    
    }                           }
    
  2. or download this
    45                         0
    45                         1    
    ...
    45                         8    
    45                         9    
    $i=45                      $i=45
    
  3. or download this
    my $i = 45;
    for (0..67) {
      my $i = $_;
      ...
    }
    
  4. or download this
    our $i = 45;
    for (0..67) {
      local $i = $_;
      ...