in reply to Assignment of hash to hash doesn't work?
In addition to what the fellow brothers said above, $recordset_TA_SITE[0]{'Age'} only works because Perl is secretly interpreting it as $recordset_TA_SITE[0]->{'Age'}. This happens only for nested structures (more precisely: from the second level onwards) and therefore $site{'Age'} is not automatically interpreted as $site->{'Age'}.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Assignment of hash to hash doesn't work?
by CountZero (Bishop) on May 13, 2014 at 13:49 UTC |