Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Get values from array

by bigj (Monk)
on Apr 21, 2014 at 19:52 UTC ( #1083075=note: print w/replies, xml ) Need Help??

in reply to Get values from array

Well, your entries are hash (refs), so no wonder that
print "$entry\n";
prints HASH(reference)
. Replace it e.g. with access to the hash like
print " Name: ", $entry->{name}, " Reference: ", $entry->{reference}, "\n";
and it results in:
K988777 Name: LOE Reference: 9887hhh Name: TYL Reference: 00ttr54433 Name: TLYN Reference: 099iuuy7 Name: LEEN Reference: 0yy76767 Name: TSY Reference: 00hyu65 Name: ASTCIA Reference: 0dree4333 Name: IRNDA Reference: 99877uuug U7564 Name: CHAMV Reference: 00gt6544 X334 Name: MES Reference: 0089kkjh9 P99987 Name: JOSPH Reference: 0gft5210 Q234 Name: INGTON Reference: 0099ytr 12349 Name: RIC Reference: 00y77676

Janek Schleicher

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-06-26 12:48 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (580 votes). Check out past polls.