Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Looking for a better way to get ...by stefan k (Curate) |
on Dec 10, 2001 at 17:58 UTC ( [id://130657]=note: print w/replies, xml ) | Need Help?? |
The probably shortest version is in this Golf-node (which -if I may add a little criticism- is just a few days old).
A quick search finds How do I count the number of lines in a file? and How do I find the total number of lines in a file?, too. Maybe next time you'll do a little research first :-)
In Section
Seekers of Perl Wisdom
|
|