I have a data field listed below.

"data1","data2","data3","data4","data5","data6","data7 ","data8"

open (data,"data.txt") || die;
while (<data>) {

this is where I run into problems...

I am wanting do the following..

split up the data after every , and then remove the " and store it as
$data[1] = data1 etc...

but i have more than one line of data..

so I think when it get the 2nd line of data is might have to save it as
$data[9] = data1

once all the data is stored the file will close

then I can print out the data that i want and leave the rest.. just getting
the data loaded and shorted in causing a little problem...

can anyone help please??

Many Thanks,
                          Johnno

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to