Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: number of lists in arrayby djw (Vicar) |
on Nov 30, 2001 at 18:57 UTC ( [id://128632]=note: print w/replies, xml ) | Need Help?? |
faq_monk is a brilliant monk - here is one way to find number of lines in a file. This way protects you from some assumptions about your file not having a newline character, and you getting one less line than expected.
djw
In Section
Seekers of Perl Wisdom
|
|