Hi Jep
One of the things that has helped me figure out where I am in an array is data dumper. When you can see the array physically layed out it really helps.
#!/pw/prod/svr4/bin/perl
use warnings;
use strict;
use Data::Dumper;
my $array;
print Dumper(@array);
Hope this helps
-- Grey Fox
"We are grey. We stand between the darkness and the light" B5