Help for this page

Select Code to Download


  1. or download this
    my @myArray = qw(alfa beta gamma);
    grep { print "$myArray[$_] at $_\n" } 0 .. $#myArray;
    
  2. or download this
    print "$myArray[$_] at $_\n" for 0 .. $#myArray;