in reply to Slice of Hash of Hash help please
If it's
@hash{...} = (...);
for a hash, it's
@{$hashref}{...} = (...);
for a hash ref. Or in this case,
@{ $h{TEST} }{"Dad", "Mom", "Kid", "Pet"} =("Mr", "Mrs", "baby", "none");
or
@{ $h{TEST} }{@desc} = ("Mr", "Mrs", "baby", "none");
Remember, a hash of hash is really a hash of references to hashes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Slice of Hash of Hash help please
by Snk1977 (Initiate) on Jan 14, 2009 at 19:12 UTC |