Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Estimate line count in text file

by xaprb (Scribe)
on Jul 18, 2008 at 13:16 UTC ( #698612=note: print w/ replies, xml ) Need Help??


in reply to Re: Estimate line count in text file
in thread Estimate line count in text file

Sure. I saw all of these. (Though I do not see any reply by davorg). They are all exact, not estimated. The key here is "estimated because the file is Very, Very Large." Reading the whole file may be unacceptable.


Comment on Re^2: Estimate line count in text file
Re^3: Estimate line count in text file
by marto (Chancellor) on Jul 18, 2008 at 13:24 UTC
    xaprb,

    My mistake, I was referring to davidrw's reply. I would suggest (if you have not already done so) benchmarking their Tie::File solution with some 'large' files, since peoples definition of what constitutes a large file differs :)

    Martin

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-08-29 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls