johnr has asked for the wisdom of the Perl Monks concerning the following question:
my @cmd_choices; my %speedlist = %{$heap->{config}{freq_gui}{speedlist}}; foreach my $key (keys %speedlist) { push @cmd_choices, { -name => $key, -value => $speedlist{$key}}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Idiomize This - Hash to Array of Hashes
by jettero (Monsignor) on Apr 20, 2009 at 01:03 UTC | |
by roubi (Hermit) on Apr 20, 2009 at 01:14 UTC | |
by johnr (Acolyte) on Apr 20, 2009 at 01:24 UTC | |
by jettero (Monsignor) on Apr 20, 2009 at 10:04 UTC | |
by AnomalousMonk (Archbishop) on Apr 20, 2009 at 01:24 UTC | |
by johnr (Acolyte) on Apr 20, 2009 at 01:32 UTC |