in reply to Re^3: The Anomalous each()
in thread The Anomalous each()

Better wording would be:
Caution: Don't use each() for a loop if you have to hand your hash to a function unless you know for sure that the function definitely won't use each()/keys()/values() on it. (It's probably a sure bet that if you hand off a hash to a function it will do just that.)

Replies are listed 'Best First'.
Re^5: The Anomalous each()
by Fairy Nuff (Novice) on Nov 18, 2005 at 20:43 UTC

    I tend not to put actual labels that say "Caution: ..." but its reasonable that there be some appropriate language in the documentation.

    Anyhow, its fair enough. *wink*