|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^3: Print elements of hash referencesby Happy-the-monk (Prior) |
| on Mar 31, 2012 at 18:37 UTC ( #962790=note: print w/ replies, xml ) | Need Help?? |
|
push @{$An{$n}->{b}} , $bb[$idx]; let's see, if perldsc did not make it clear enough, maybe perldata and perllol will help a bit further? What you are doing is pushing onto an array reference that is inside a hash (%An) of hashes the value in position ($idx) of an array (@bb). I am a little curious though: If you don't know what you are doing, why are you doing it? To see the results, do try use Data::Dumper;print Dumper \%An; Cheers, Sören
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||