in reply to Re: How do I find the total number of lines in a file?
in thread How do I find the total number of lines in a file?
Joshopen(FILE, "filename") or die "couldn't open filename: $!"; # check re +turn status of system calls! for ($count = 0; <FILE>; $count++) {}
|
|---|