laziness, impatience, and hubris | |
PerlMonks |
Re: Read a line with max length ?by cees (Curate) |
on Feb 27, 2003 at 03:22 UTC ( [id://238983]=note: print w/replies, xml ) | Need Help?? |
perldoc -f sysread
read in your data a piece at a time using sysread, then use index to look for your line breaks so you can split the raw data into lines.
In Section
Seekers of Perl Wisdom
|
|