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