|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: number of lists in arrayby djw (Vicar) |
| on Nov 30, 2001 at 13:57 UTC ( [id://128632]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||