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.