Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
     print "a: ", join(',',@$a), "\n";
     print "b: ", join(',',@$b), "\n";
    }
    
  2. or download this
    my ($a,$b) = @_;
    
  3. or download this
      You can actually put an array or hash anywhere in the
      list [subroutine arguments which are passed to @_],
      but the first one in the list will soak up all the
      values, and anything after it will become undefined.