in reply to Returning 1 entry from a conditional grep call to a hash value
while (my ($key, $value) = each %links) { if (defined $value->{visited}) { ... do something with $links{$key} ...; ) }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Returning 1 entry from a conditional grep call to a hash value
by S_Shrum (Pilgrim) on Mar 29, 2002 at 01:18 UTC | |
by merlyn (Sage) on Mar 29, 2002 at 01:46 UTC |