in reply to Re: hash of hashes of lists!!!
in thread hash of hashes of lists!!!
The failure is recognising 'bar' as a scalar rather than a hash and is (i think) nothing to do with 'baz' being a scalar or array.
bar is an unquoted string, baz is an unquoted string.
$foo->{bar} is a scalar, holding a hash reference.
%{ $foo->{bar} } is the hash to which $foo->{bar} is refering.
$foo->{bar}->{baz} is a scalar.
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
|---|