open(FILE, "filename"); @lines = <FILE>; close(FILE); $num = @lines;
--newbie00
In reply to Re: How do I find the total number of lines in a file?
by newbie00
in thread How do I find the total number of lines in a file?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |