very empty has asked for the wisdom of the Perl Monks concerning the following question:
should do what I want, but @myvalues is an auxiliary variable I do not want to introduce.foreach $elem (@array) { push @myvalues, $$elem{"mykey"}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Play golf on an array of hashrefs
by Abigail-II (Bishop) on Jun 10, 2002 at 15:37 UTC | |
|
Re: Play golf on an array of hashrefs
by Joost (Canon) on Jun 10, 2002 at 15:36 UTC | |
|
Re: Play golf on an array of hashrefs
by frankus (Priest) on Jun 10, 2002 at 15:38 UTC | |
by mephit (Scribe) on Jun 10, 2002 at 21:37 UTC |