in reply to Ouch! Each! Reentrant it is not
sub find_2{ keys %hash; while (my ($key,$val) = each(%hash)) { return "The key for 2 is $key\n" if $val == 2; } die "could not find 2"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ouch! Each! Reentrant it is not
by Thilosophy (Curate) on Jul 15, 2005 at 09:38 UTC | |
by ysth (Canon) on Jul 15, 2005 at 09:45 UTC | |
by Thilosophy (Curate) on Jul 15, 2005 at 09:51 UTC | |
by ysth (Canon) on Jul 15, 2005 at 09:54 UTC |