in reply to Sum of Input
You need to reset the $linetotal at the end of the loop.
Regards,
Murugesan Kandasamy
use perl for(;;);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Sum of Input
by tilly (Archbishop) on Aug 04, 2010 at 18:26 UTC |
In Section
Seekers of Perl Wisdom