in reply to Re: Accessing this array ref.
in thread Accessing this array ref.

your explanation makes sense, still having problems, I can print the first item from the array like this:
print $results->[0];
But running your code is giving me": Not a HASH reference".

Replies are listed 'Best First'.
Re^3: Accessing this array ref.
by SuicideJunkie (Vicar) on Apr 03, 2013 at 19:20 UTC

    It sounds like you're defining $results somewhere that you haven't shown, and making it an array ref.

    As I understand it, you want results to be a hash of hashes, so just declare it as my $results; or my $results = {};