in reply to Re^2: Optimization, side-effects and wrong code
in thread Optimization, side-effects and wrong code
It is noted in the POD for keys:
As a side effect, calling keys() resets the HASH's internal iterator, see each. (In particular, calling keys() in void context resets the iterator with no other overhead.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Optimization, side-effects and wrong code
by Mutant (Priest) on Sep 30, 2004 at 14:28 UTC |