in reply to Curious about Hashes which viewed as a list has only one item
It's effectively identical to %foo = ( {} => undef );.
If strict/warnings were in force, it would have il elicited:
%foo = {};; Reference found where even-sized list expected at ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Curious about Hashes which viewed as a list has only one item
by chrism01 (Friar) on Feb 29, 2008 at 01:33 UTC | |
|
Re^2: Curious about Hashes which viewed as a list has only one item
by ack (Deacon) on Feb 29, 2008 at 05:34 UTC |