Help for this page

Select Code to Download


  1. or download this
    print_array2 (\@foo);
    
    ...
       my $array_ref = shift;
       print join ("\n", @$array_ref), "\n";
    }
    
  2. or download this
    sub print_array2 
    {
    ...
          print "$_\n";
       }
    }