in reply to Re: trouble with each and a hash of hashes
in thread trouble with each and a hash of hashes
But in the following case the while loop is always entered:while (($s_pattern,$p_pattern) = each %{$patterns{$gen}}) { # ... }
Nothing else changes!print Dumper(%{$patterns{$gen}}); while (($s_pattern,$p_pattern) = each %{$patterns{$gen}}) { # ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: trouble with each and a hash of hashes
by jdalbec (Deacon) on Sep 11, 2004 at 14:42 UTC | |
by marcokuma (Novice) on Sep 11, 2004 at 16:13 UTC | |
by shenme (Priest) on Sep 11, 2004 at 18:57 UTC | |
|
Re^2: trouble with each and a hash of hashes
by CountZero (Bishop) on Sep 11, 2004 at 13:56 UTC |