Help for this page

Select Code to Download


  1. or download this
    sub routine {
        my $self = shift;
    ...
        s/a/A/g for (@$list); # change the original
        ...
    }
    
  2. or download this
    sub shift_list {
      # shift one element of @_ and return it as an array ref
    ...
      } 
      return $list;
    }