Please post code that actually works. Your code seems to be a snippet from a larger program, at least there is mention of @router and @routers, but only @router gets initialized.
It's hard what you actually expect as output - maybe you can rephrase your problem statement?
You seem to think that hashes or values %hash are ordered, but they are not. Maybe that is your problem?
In reply to Re: NEXT statement in for loop
by Corion
in thread NEXT statement in for loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |