Updated answer for Ch. 4, Ex. 3 of Learning Perl.
Updated answer for Ch. 4, Ex. 3 of Learning Perl.

Realized an error in the average function: $#_ is one too few, because
arrays are indexed starting at zero. Added 1 to the total, and the
average became correct.

Found this error after adding the test code from the Chapter 4 exercises
section.

/rs.

ruddystream/Learning-Perl,ruddystream/Learning-Perl