Array::Average - Calculates the average of the values passed to the function.
use Array::Average; print average(4,5,6);
Array::Average is an Exporter which exports exactly one function called average.
use Array::Average; print average(4,5,6); use Array::Average qw{}; print Array::Average::average(4,5,6);
Returns the average of all defined scalars and objects which overload "+".
my $average=average(1,2,3); my $average=average([1,2,3]); my $average=average({a=>1,b=>2,c=>3}); #only values not keys
Please log on RT and send an email to the author.
DavisNetworks.com supports all Perl applications including this package.
Michael R. Davis CPAN ID: MRDVT Satellite Tracking of People, LLC mdavis@stopllc.com http://www.stopllc.com/
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
Data::Average
To install Array::Average, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Array::Average
CPAN shell
perl -MCPAN -e shell install Array::Average
For more information on module installation, please visit the detailed CPAN module installation guide.