in reply to Re: foreach loop question
in thread foreach loop question
You might want to try {code with each} But I am not sure if you'll get all your new keys.
Actually, the docs for each specifically say that you should not do this - as each returns hash elements in an essentially random order (or at least in an unpredictable order), so doing something like this is playing with fire :).
CU
Robartes-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: foreach loop question
by dmitri (Priest) on Apr 16, 2003 at 18:52 UTC | |
|
Re: Re: foreach loop question
by djantzen (Priest) on Apr 16, 2003 at 19:14 UTC | |
by chromatic (Archbishop) on Apr 16, 2003 at 19:54 UTC |