Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Handling large files

by ioannis (Vicar)
on Apr 27, 2006 at 06:45 UTC ( #545971=note: print w/ replies, xml ) Need Help??


in reply to Handling large files

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.


Comment on Re: Handling large files

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://545971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-03 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls