shemp has asked for the wisdom of the Perl Monks concerning the following question:
Sorry about the odd code formatting, there are rather long lines for this forum.foreach my $code ( sort { $dept_n_code{$a}->{'dept'} <=> $dept_n_code{$b}->{'dept'} } keys %dept_n_code ) { my $desc = $code_map->{$code}; my $out_line = pack $pack_template, $code, $desc, $dept_n_code{$code}->{'dept'}, $dept_n_code{$code}->{'count'}; print REPORT "$out_line\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sort function issue
by tall_man (Parson) on Jun 24, 2003 at 18:36 UTC | |
by artist (Parson) on Jun 24, 2003 at 18:49 UTC | |
by tall_man (Parson) on Jun 24, 2003 at 19:03 UTC | |
by shemp (Deacon) on Jun 24, 2003 at 21:42 UTC | |
|
Re: Sort function issue
by jmanning2k (Pilgrim) on Jun 25, 2003 at 20:20 UTC |