install the numbercruncher module
February 9th, 2006 by Lawrence David
the math::numbercruncher module has a bunch of useful array functions, like “mean” and “median.” to install, type the following at the command prompt:
>> perl -MCPAN -e ‘install Math::NumberCruncher’