Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Getting information from an array of hashes

by chumley (Sexton)
on Apr 26, 2001 at 03:53 UTC ( [id://75667]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Getting information from an array of hashes
in thread Getting information from an array of hashes

It's not that I'm trying to turn an arrayref into a hash, I'm trying to take a function that is supposed to return an array of hashes and get the data out of the hashes. Sorry if I wasn't as clear as I could be. (perldsc calls this a "list of hashes", which I thought would be the same thing. Maybe not?)

It may well be the same thing as a nested data structure, and it's quite likely that I don't understand it yet. Happens to me a lot - that's why I have a shelf full of O'Reilly books!

Chumley
  • Comment on Re: Re: Re: Getting information from an array of hashes

Replies are listed 'Best First'.
Re: Re: Re: Re: Getting information from an array of hashes
by hdp (Beadle) on Apr 26, 2001 at 04:05 UTC
    The more I look at it, the more it looks like an array of an array of hashes; I'm drawing this conclusion from the output you list from print "@{$diary_data[0]}\n" (i.e., it looks like a hashref).

    Whatever it is, Data::Dumper should easily sort it out.

    hdp.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found