is there an internal perl variable is $<somethins> that will tell you index of an array you are at in a foreach loop i.e. in foreach (@arrayname) { ...do some stuff.. } other than setting a count before the loop and incrementing it each time how can I find out with in ...do some stuff... how far through @arrayname I am? Regards