in reply to
number of lists in array
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
Comment on
Re: number of lists in array
In Section
Seekers of Perl Wisdom