Help for this page

Select Code to Download


  1. or download this
    1:  sub numtoname {
    2:      local ($_) = @_;
    3:      unless (defined $numtoname{$_}) {
    ...
    6:      }
    7:      return $numtoname{$_};
    8:  }
    
  2. or download this
    foreach (1 .. 3) {
        foo($_ + 1);
        print "$_\n";
    ...
        $_ = shift;
        $_ += 7;
    }
    
  3. or download this
    sub numtoname {
        my $address = shift;
        unless (defined $numtoname{$address}) {
    ...
        }
        return $numtoname{$address};
    }