in reply to Re: Hash of Array of Hashes
in thread Hash of Array of Hashes

Thank you for the Perl data structure cookbook. Your code did not work but it sure gave me a place to look how to solve this. Since this was nested I needed to refrence it with arrows. Thanks so much for your help. I am bookmarking this link too. Here is the code that worked.
print $Data->{logins}->[0]->{url};

Replies are listed 'Best First'.
Re^3: Hash of Array of Hashes
by Eliya (Vicar) on Apr 28, 2011 at 15:54 UTC

    Only the first (leftmost) arrow would make a difference, the others are always optional (as they don't help to disambiguate — those are always references).  In other words, you also could've written:

    print $Data->{logins}[0]{url};