Re: Question abount counting the total number of lines and put to an variable?
- From: tom@xxxxxxxxxxxxxx (Tom Phoenix)
- Date: Thu, 29 Nov 2007 16:09:36 -0800
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
.
- Follow-Ups:
- References:
- Prev by Date: Re: Trouble with Email::MIME modules
- Next by Date: Re: Question abount counting the total number of lines and put to an variable?
- Previous by thread: Question abount counting the total number of lines and put to an variable?
- Next by thread: Re: Question abount counting the total number of lines and put to an variable?
- Index(es):