Perl Monk, Perl Meditation | |
PerlMonks |
Re: Access to hash ref elementby Laurent_R (Canon) |
on May 28, 2013 at 17:40 UTC ( [id://1035664]=note: print w/replies, xml ) | Need Help?? |
Hi, you could do: print $data->[0]{name};Or, if you prefer: print $data->[0]->{name}EDIT: oops, I had not seen Choroba's answer.
In Section
Seekers of Perl Wisdom
|
|