in reply to Hash of Array of Hashes

Read perldsc - Perl Data Structures Cookbook:

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

Replies are listed 'Best First'.
Re^2: Hash of Array of Hashes
by heisenbug (Sexton) on Apr 28, 2011 at 15:44 UTC
    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};

      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};