Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How do I get array element 2 of totalhash,hash like this? I looked at a lot of places but i do not really get how to get an element of a hash out of a hash arrayed so to say, I have already done dumping and itirating but I prefer to do it like this. I appreciate the help greatly thank you
print @($totalhash{hello1}{world});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl hash array printing
by choroba (Cardinal) on Sep 04, 2012 at 23:50 UTC | |
by Anonymous Monk on Sep 05, 2012 at 00:03 UTC | |
by Anonymous Monk on Sep 05, 2012 at 07:43 UTC | |
Re: perl hash array printing
by Marshall (Canon) on Sep 05, 2012 at 03:58 UTC | |
Re: perl hash array printing
by Rudolf (Pilgrim) on Sep 05, 2012 at 01:43 UTC |
Back to
Seekers of Perl Wisdom