go ahead... be a heretic | |
PerlMonks |
Play golf on an array of hashrefsby very empty (Scribe) |
on Jun 10, 2002 at 15:33 UTC ( [id://173196]=perlquestion: print w/replies, xml ) | Need Help?? |
very empty has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have an array of hashrefs. Each hash has a key
"mykey". Now would like to know if there is a one-line-way
to get an array consisting of
all values at this common key. should do what I want, but @myvalues is an auxiliary variable I do not want to introduce. Regards...
Back to
Seekers of Perl Wisdom
|
|