http://www.perlmonks.org?node_id=1230081


in reply to Re^4: Output of Output
in thread Output of Output

See my post Re: Retrieve average and all the other replies to Retrieve average. You've been shown how to calculate averages using several methods. Pick one and use it.