As part of the sort process which uses a,b for comparsion, you switch to b,a
that is:
Asending: Descending:
$a <=> $b $b <=> $a
If desire is for alphanumeric, then use cmp in place of <=>
Wags ;)
-----Original Message-----
From: Walsh, Keith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 15:42
To: '[EMAIL PROTECTED]'
Subject: CSV sorting
Hello all:
I have what I hope is a very simple question. In the script that I
am writing I create a csv file that includes certain information I take out
of some logfiles. The first column is the date, the second the time and the
third an NT user account. My question is this, is there anyway that after I
create this file to sort by column a, then b, then c in a descending order?
There must be some way right? Any help would be greatly appreciated.
Thank you.
***************************
Keith Walsh
IT Security Technology
281.681.6605
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
www.mimesweeper.com
**********************************************************************
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users