[Chicago-talk] Hash Question

Richard Reina gatorreina at gmail.com
Sat Oct 3 14:36:27 PDT 2015


2015-10-03 16:04 GMT-05:00 Alan Mead <amead2 at alanmead.org>:

> I don't understand what you're doing, so I don't know if this helps but
> you have an 'opp_team' for keys 11 and 12. You need to access them like
> a multidimensional array:
>
> print $VAR1->{'11'}->{'opp_team'},"\n";
> print $VAR1->{'12'}->{'opp_team'},"\n";
>
> This also works:
>
> print "$VAR1->{12}->{opp_team}\n";
>
> Thanks for the reply I ended up using something along those lines.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20151003/e6a95f77/attachment.html>


More information about the Chicago-talk mailing list