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-
In reply to Re: foreach loop question
by robartes
in thread foreach loop question
by dda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |