or, a bit more efficient,for (grep {$links{$_}{visited}} keys %links) { #.... }
for (keys %links) { if ($links{$_}{visited}) { #.... } }
Courage, the Cowardly Dog
In reply to Re: Creating loop on undefined hash key value
by Courage
in thread Creating loop on undefined hash key value
by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |