in reply to foreach loop question

changing array/hash size whilst looping it will give you strange results. it seems that the discussion is centering on how weird can you get...but if you actually want a solution to your problem: implement your own (get module) for a linked list. a linked list is meant to be manipulated that way. Even if you do hack a solution with the hash that finally works for you, it's bound to break on a different platform/version of perl. Chris