Think about Loose Coupling | |
PerlMonks |
Re: Reset while loop to beginning of hash when using 'each'by perlmonkey (Hermit) |
on Sep 25, 2003 at 23:31 UTC ( [id://294293]=note: print w/replies, xml ) | Need Help?? |
according to the each perldoc page, you have to reset the each call or else it will always keep iterating from where you left off.
To reset the is says execute: keys %hash; so you need something like:
In Section
Seekers of Perl Wisdom
|
|