bplegend has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to display the output like belowpush @all_queries,{'foo' => 20}; push @all_queries,{'bar' => 30}; push @all_queries,{'foo' => 10}; push @all_queries,{'zen' => 90}; push @all_queries,{'zen' => 1};
bar has 30 foo has 10,20 zen has 1,90
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'group by query' from array of hashes
by ikegami (Patriarch) on Jan 28, 2011 at 23:04 UTC | |
|
Re: 'group by query' from array of hashes
by wind (Priest) on Jan 28, 2011 at 22:19 UTC | |
|
Re: 'group by query' from array of hashes
by chayashida (Acolyte) on Jan 29, 2011 at 03:26 UTC | |
by Jim (Curate) on Jan 29, 2011 at 16:36 UTC | |
|
Re: 'group by query' from array of hashes
by Jim (Curate) on Jan 29, 2011 at 02:48 UTC | |
|
Re: 'group by query' from array of hashes
by bplegend (Novice) on Jan 29, 2011 at 16:49 UTC |