At the very end of List::Util
's docs we see:
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
I think the point of a module is to
- save someone from writing what is already written.
- compartmentalize functionality so that you can...
- keep the logic of the code focused on the task at hand
With that in mind, it does not matter how simple something is. What matters when deciding what to include in a module is
- whether it has already been written
- whether it will save someone else from writing something
- whether it falls under the domain of the module at hand
So in my eyes, the functions that gbarr refused to add to List::Util should be there. And because they are not there, the utility of the module is less than it could be.
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality