Help for this page

Select Code to Download


  1. or download this
    for (my $i = 0; $i < $#array + 1; ++$i){
      print $array[$i] . "\n";
    }
    
  2. or download this
    foreach my $s ( @array ){
      print "$s\n";
    }
    # OR one of many other ways like:
    print $_."\n" for @array;