in reply to Time Totaling Lost
In normal_results, you're starting over with $total_time each time you fetch a row. Move the declaration of $total_time from inside to while loop, and put it at the top of the subroutine. Then it will accumulate time, rather than getting reset each time the loop is entered.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Time Totaling Lost
by dws (Chancellor) on Nov 24, 2001 at 07:54 UTC | |
by nlafferty (Scribe) on Nov 24, 2001 at 22:04 UTC | |
|
Re: Re: Time Totaling Lost
by nlafferty (Scribe) on Nov 24, 2001 at 07:44 UTC |