Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: number of lists in array

by djw (Vicar)
on Nov 30, 2001 at 18:57 UTC ( [id://128632]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found