@file = <MYFILE>;
foreach $l (@file)
{
@colarray = split /,/, $l;
}
The biggest file I have read this way was 500,000 lines, with no problems.
In reply to Re: Reading line and Spliting it
by bulrush
in thread Reading line and Spliting it
by lazy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |