in reply to How do I loop through a list two or more elements at a time?

{cough} you could always use the obvious approach with a C style loop

@ary = qw( a b c d e f g h i ); for ( my $i=0; $i<@ary; $i=$i+2 ) { print "$ary[$i] - $ary[$i+1]\n"; }