In the suggested additions section
of List::Util Graham says:
The following are additions that have been requested, but I have been reluctant to add due to them being very simple to implement in perl
In my opinion it does not matter if something is easy. The purpose of a module is to support the DRY principle. If it seems likely that many people will need something and hence lead to many people writing the same thing, then it needs to be widely available in a high availability module.
why am I bringing this up
- because I want to discuss the idea of what belongs in an API
- because I need to average of a list of numbers and it is not in this API or List::MoreUtils and PDL is a bit too heavy weight for me (not to mention it didnt build when I last tried).