12 for $v (@{$data->{$k}}) {
15 if(($min == -1) || ($min > $v)) {
18 if(($max == -1) || ($max < $v)) {
24 for $v (@{$data->{$k}}) {
25 $devsum += ($v - $avg) ** 2;
27 $dev = sqrt($devsum / $num);
28 $devmin = $avg - $dev;
29 $devmax = $avg + $dev;
30 print "$k $x $avg $dev $devmin $devmax $min $max\n";
35 } elsif(/(\w+): ([\d.]+)/) {
36 push @{$data->{$1}}, $2;