in reply to Creating loop on undefined hash key value
or, a bit more efficient,for (grep {$links{$_}{visited}} keys %links) { #.... }
for (keys %links) { if ($links{$_}{visited}) { #.... } }
Courage, the Cowardly Dog
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating loop on undefined hash key value
by S_Shrum (Pilgrim) on Nov 24, 2002 at 04:49 UTC | |
by Courage (Parson) on Nov 24, 2002 at 08:19 UTC |