But in order to pick out the right fields, you have to know where a line starts and stops. There's no getting around that.
You can either use sysread() to pull stuff in by blocks, then juggle blocks to handle lines that span blocks, or you can uses Perl's line-by-line IO. Your call.
In reply to Re: Re: Re: split and sysread()
by dws
in thread split and sysread()
by relaxed137
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |