Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    for my $i($[ .. $[ + (scalar(@array) - 1) ){
        print $array[$i],"\n";
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    for my $i($[ .. $#array ){
        print $array[$i],"\n";
    }