Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.

Replies are listed 'Best First'.
Re^3: Estimate line count in text file
by marto (Bishop) on Jul 18, 2008 at 13:24 UTC

    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 :)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://698612]
Eily just learned that you get a message when replying to yourself
[Eily]: "Hey I got an answer!" => "Oh, right, it's me..."
[stonecolddevin]: good morning all
[Eily]: good morning stonecolddevin :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-11-22 18:36 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.