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.
In reply to Re: Time Totaling Lost
by dws
in thread Time Totaling Lost
by nlafferty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |