Don't ask to ask, just ask | |
PerlMonks |
Accessing and array of hashesby Anonymous Monk |
on Nov 26, 2014 at 14:37 UTC ( [id://1108457]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks! I have this code structure and after passing the data to the sub routine “test” inside of the module, I am trying to accesses the items in the arrays, but I am getting an error saying that this is not a has reference. What is the correct syntax to access each element once it gets passed to the sub without a loop? Here is a sample that shows what I am trying to do:
Thanks for looking!
Back to
Seekers of Perl Wisdom
|
|