Jonathan has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone think of a more elegant approach? (preferably avoiding using the extra array @sorted_tables)# Sort list and remove first two elements (undef,undef, my @sorted_tables) = sort { $a cmp $b } @table_list; write REPORT_CSV while $table_name = shift @sorted_tables;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inane question
by kilinrax (Deacon) on Nov 23, 2000 at 22:34 UTC | |
|
Re: Inane question
by snax (Hermit) on Nov 23, 2000 at 22:52 UTC |