Re: Question abount counting the total number of lines and put to an variable?



On 11/29/07, Marco <marco@xxxxxxxxxxxx> wrote:

Is there any way that I can get the total of lines that show on the
screen and put to a variable?

Yes; you can keep a running count as you print the lines. Each time
you print a line, you add one to the count of lines. Is that all you
needed? Cheers!

--Tom Phoenix
Stonehenge Perl Training
.