And as long as you're doing that, you might as well use a reference for the outer hash itself to make the syntax more regular ($thingy->{foo}->3 vs. $thingy{foo}->3).

Well, except the internal ->'s aren't necessary anyway, so $thingy{foo}[3] works just fine.


In reply to Re^2: Access Hashes of Hashes etc. by fullermd
in thread Access Hashes of Hashes etc. by packetstormer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":