http://qs321.pair.com?node_id=852839


in reply to Sum of Input

You need to reset the $linetotal at the end of the loop.

Regards,
Murugesan Kandasamy
use perl for(;;);