I have opened up a file and use the
$lines = <IN>;
close in;
then used
my @data = split (/\,/, $lines);
as the data is seperated with the ,
when i call $data[7] i get this which is part on the first line and the 2nd.
access_registration
eBay opens website for New Zealanders
the field $data[7] should say
access_registration
and field $data[8] should say
eBay opens website for New Zealanders
I think the problem is that i have not taken in that at the end of every
data line is a return..
how would i go about fixing this??
Many thanks,
Johnno
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs