|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Handling large filesby ioannis (Curate) |
| on Apr 27, 2006 at 06:45 UTC ( #545971=note: print w/ replies, xml ) | Need Help?? |
|
I have PerlIO::via::Skip on cpan that reads lines with PerlIO. It can read the lines after it finds the pattern, between patterns, can skips comments, or skip a number of lines after it finds the pattern, etc,. For the case of reading after line 1000, you will probably need to pattern-match the first line and request your lines with the 'after=>1000' parameter.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||