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.
In reply to Re^3: On the rejected additions to List::Util
by ikegami
in thread On the rejected additions to List::Util
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |