$site is not a hash but a hash reference
Either use
my %site = %{ $recordset_TA_SITE[0] }; print $site{'Age'};
or
my $href = $recordset_TA_SITE[0]; print $href->{'Age'};
In reply to Re: Assignment of hash to hash doesn't work?
by Monk::Thomas
in thread Assignment of hash to hash doesn't work?
by ASadon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |