Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

Greetings,
Janek Schleicher


Comment on Re: Get values from array
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-07 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls