in reply to Hash becomes uninitalized without warning... with warning
No, the hash hasn't disappeared.
As wind's reply shows, if the input, $t is 1, you'll get Rekjavik back... but consider what happens if the input is "2," "3" or "42."
say $p{$t};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hash becomes uninitalized without warning... with warning
by perl-diddler (Chaplain) on Apr 14, 2011 at 02:16 UTC |