Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Monk::Thomas (Beadle)
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'};


Comment on Re: Assignment of hash to hash doesn't work?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2014-09-30 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (368 votes), past polls