A clean and simple way to describe a set of files you're interested in, and get a list of them. Way nicer to use than File::Find.
The price for this simplicity is that the module chugs away constructing the entire list of files first, before you can then work with them. Fine on a reasonably small set of files, but if you're going to be working with a lot of files, this can be a pain.
This is a huge, massive, major improvement over the interface of File::Find. I use it all the time. My only real qualm, and it's a big one, is that it doesn't provide an iterator. Instead, it does all the searching and returns a big result. For large searches, this can be a real drag.
Yes the interface/docs are very well done. But why hasn't anyone mentioned that this thing goes over your ENTIRE FILE TREE before it returns anything? Not suitable for so many projects that have large numbers of files.
Excellent idea with an excellent execution, excellently documented. Directory traversal code using File::Find::Rule documents intent far more clearly that equivalent File::Find callback code ever could. And true to â€œeasy things should be easy,â€ code for the simplest use (accumulate matches in an array) is trivial.