![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to deal with long lineby GrandFather (Saint) |
on Sep 27, 2005 at 20:50 UTC ( #495551=note: print w/replies, xml ) | Need Help?? |
If the file is of modest size then read eveything into a string and: Update: Change to read from a "file" Monarch has suggested to me that this is likely to get pretty slow with HUGE files, and I agree. For very large files I'd suggest using this technique. Perl is Huffman encoded by design.
In Section
Seekers of Perl Wisdom
|
|