in reply to foreach and arrays

My guess is that you are dredging up a half remembered comment about a 'foreach' when applied to a hash.
foreach my $key (keys %hashname) { ..... }
In most texts on Perl you will see some reference to the fact that keys will return the keys to the hash but "not in any definite order."

I think this is what you were half remembering.

Claude