Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If there's any chance that the file can be of any real size at all, and you only want the line count, you'd be much better off using:
Building a potentially huge list only to throw it away, just to count the lines, will be very costly in terms of time and memory. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In reply to Re: Forcing array context on a file handle
by BrowserUk
|
|