Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Array of Array of Hashes

by twerq (Deacon)
on Aug 06, 2002 at 20:24 UTC ( [id://188149]=note: print w/replies, xml ) Need Help??


in reply to Array of Array of Hashes

Haven't seen the code you're working with, but maybe try dereferencing with
$kid[0][0]->{name}

--twerq

Replies are listed 'Best First'.
Re: Re: Array of Array of Hashes
by agentv (Friar) on Aug 06, 2002 at 20:38 UTC
    ...I think this would do the trick. Or if you're in a particularly perverse mood, you might try:
    ${$kid[0][0]}{name}
    ...but it's much uglier.

    Update: changed phrase so that it actually works.

    ...all the world looks like -well- all the world, when your hammer is perl.
    ---v

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found