Better have a look at Re^2: define a hash-value, using hash-ref and a list of keys if Perl < 5.10 is an issue.
{} is an anonymous hash (-ref).
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re^5: define a hash-value, using hash-ref and a list of keys
by LanX
in thread define a hash-value, using hash-ref and a list of keys
by janssene
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |