basic perl functions providing descriptive statistics
