in reply to foreach .. stepping?

for stepping you need a c-style for loop. Try this:
my @list=(a,b,c,...z); // or whatever is in your list for (my $i=0;$i<$#list;$i+=5) { my $val = $list[$i]; ... }


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."