Hi all,
I want to read and sort a comma separated file like:
abc,Metallica,Larry
bcd,Megadeth,Wall
cde,Ozzy,Perl
I want to be able to sort the line using all the 3 columns.
I am a beginner in Perl and I don't know to use MySQL yet.
Is it possible to do what I want without a database?
Thank you
p;
my ($rec,$band,$artist) = split(/,/,$_);
print "Band = $band \n";
print "Artist = $artist \n";
}
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Do I need MySQL?
t" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, April 07, 2002 6:32 PM
Subject: RE: Do I need MySQL?
No. MySQL would be overkill for an application like this unless you're
talking about several thousand lines.