good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: useless use of sort???by ysth (Canon) |
on Mar 22, 2005 at 02:15 UTC ( [id://441365]=note: print w/replies, xml ) | Need Help?? |
You don't appear to be using the @sortlist array; all your output seems to be already done at that point. What did you want to happen to the sorted data?
It looks like perhaps you want to be saving things into a @cpout array instead of writing to CPOUT, and then sorting that and writing it after the <FILE> loop, but then again, maybe not.
In Section
Seekers of Perl Wisdom
|
|