Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
     while( my( $x, $i ) = $one->each() ) {
         printf "%3d: %s\n", $i, $x;
     }
    
  2. or download this
    use strict;
    use warnings;
    ...
    for my $index (0..$#x){
        print "$index : $x[$index]\n";
    }