> how can i count the numbers of lines text of a log file
> and how do i show the number

Seems like every perl book I've ever read gave this example:

while <FILE>;
$count = $.;


The special variable $. holds the number of lines read. Of
course, it only works if you're using only one file.

jay

Reply via email to