in reply to Re^2: On the rejected additions to List::Util
in thread On the rejected additions to List::Util
Kids learn the average is the sum divided by the count at a young age, so it's definitely readable.
As for conciseness, sum(@list)/@list is really not that far off from avg(@list)
Nothing is stopping you from putting that expression in a sub if you think it's not readable or concise enough.
|
|---|