Did you know about the module List::AllUtils?
It puts the goodness of
List::MoreUtils into one nice package. Or... was it
List::MoreUtil? Or is it actually
Well, that's the problem it solves. Now you can forget about which of those modules were named what,
use List::AllUtils; and just go on with your life. It also adds a few more nice functions from
It's a good idea to be roughly aware what kinds of operations are available for dealing with lists for next time you need them.
Here are a few standard things on the level of basic language features you should know about.
And a few niceties worth taking a look at.
But there are many more useful functions in there.
Used correctly these could save you a lot of time and bugs by replacing imperative for loops with more expressive and precise flow control.
Which function helped you out the most? Add to the discussion below, or on /r/perl!