good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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
|
|