tevads has asked for the wisdom of the Perl Monks concerning the following question:
This only sorts by symbol_set and not by 'pnl'. Anybody have any ideas or who could provide code to solve this. Thanks tevadsforeach my $symbol_set (sort keys %pnl_ind) { my $symbols_r=$pnl_ind{$symbol_set); foreach my $symbol (sort ($a->{'pnl'}<=>$b->{'pnl'})%$symbols_r ) +{ ... etc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting hash of hashes
by suaveant (Parson) on Apr 24, 2001 at 18:38 UTC | |
by Anonymous Monk on Apr 24, 2001 at 19:21 UTC | |
by suaveant (Parson) on Apr 24, 2001 at 20:59 UTC | |
by Kickstart (Pilgrim) on Apr 24, 2001 at 21:25 UTC | |
by suaveant (Parson) on Apr 24, 2001 at 21:34 UTC | |
by larryk (Friar) on Apr 25, 2001 at 14:54 UTC | |
by suaveant (Parson) on Apr 25, 2001 at 17:51 UTC | |
by larryk (Friar) on Apr 25, 2001 at 21:01 UTC | |
by suaveant (Parson) on Apr 25, 2001 at 21:05 UTC | |
| |
|
Re: sorting hash of hashes
by mrmick (Curate) on Apr 24, 2001 at 18:31 UTC |