Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Assignment of hash to hash doesn't work?

by Monk::Thomas (Friar)
on May 13, 2014 at 11:41 UTC ( #1085889=note: print w/replies, xml ) Need Help??


in reply to Assignment of hash to hash doesn't work?

$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'};

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085889]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2016-12-05 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.