in reply to Reading line and Spliting it
@file = <MYFILE>;
foreach $l (@file)
{
@colarray = split /,/, $l;
}
The biggest file I have read this way was 500,000 lines, with no problems.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading line and Spliting it
by GotToBTru (Prior) on Jul 17, 2014 at 13:50 UTC |