in reply to trouble with each and a hash of hashes
When the hash is entirely read, a null array is returned in list context (which when assigned produces a false (0) value), ...
This leads me to believe that one of these could cause the problem:
To "reset" the while (I would never do that in production code, before finding what causes the problem), simply do an throw-away keys() or (values) fetch prior to the "each".
Earth first! (We'll rob the other planets later)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: trouble with each and a hash of hashes
by marcokuma (Novice) on Sep 11, 2004 at 22:26 UTC | |
by BrowserUk (Patriarch) on Sep 11, 2004 at 22:45 UTC |