Help for this page

Select Code to Download


  1. or download this
    @arr=('A', 'B', 'C', 'D', 'E', 'F', 'G');
    
  2. or download this
    for(my $i=0; $i<(scalar(@arr)); $i++)
    {print"$i $arr[$i]\n";}
    
  3. or download this
    for(my $i=0; $i<=$#arr; $i++)
    {print"$i $arr[$i]\n\n";}