Help for this page

Select Code to Download


  1. or download this
    for (my $i = 0; $i < scalar @arr1; ++$i)
    {
    ...
    
      # do main processing on @garr here.
    }
    
  2. or download this
    for (my $i = 0; $i < scalar @arr1; ++$i)
    {
      @{$garr[$i]} = ( shift(@$arr1[$i]), shift(@$arr2[$i]) );
    }