Hello, When perl executes a foreach loop, it creates some kind of array of all the iterators and then goes over them one by one. Is the current index pointer accessible from inside the loop? I was unable to find anything related in perlvar.
Thanks for the input Peter P.S. I know it is trivial to add an incrementing counter at the end of the loop, but it seems redundant to me, since perl got to do something similar anyway just to keep track of its own state. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>