Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How do I refer to an element of a hash of arrays as an array

by lachoy (Parson)
on Mar 08, 2001 at 23:13 UTC ( #63068=note: print w/replies, xml ) Need Help??


in reply to How do I refer to an element of a hash of arrays as an array

Also, just for future debugging purposes, you might want to print out more than the second element of the array. Doing something like:

my @a=$h{'one'}; print join( ' // ', @a );

might have shown you something like:

ARRAY(0x80e1310)

which would hopefully be a giant red flag :-)

Originally posted as a Categorized Answer.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-04-02 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?