![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Statistics on Tab Delimited Fileby eye (Chaplain) |
on Dec 10, 2009 at 22:31 UTC ( #812303=note: print w/replies, xml ) | Need Help?? |
Using libraries (like Acme::Tools) is not only efficient for coding, it can be a good way to gain the benefit of technical expertise you may not have. I mention this because the OP's code to compute median is fundamentally flawed (median is computed differently for even and odd numbers of items).
For more details on median, see MathWorld.
In Section
Seekers of Perl Wisdom
|
|