in reply to Glob vs File::Util vs File::Find
glob is not recursive, so it's kind of like asking what kind of socket wrench you need to use instead of a screwdriver to drive in a screw (i.e. similar jobs but different kinds of tools). You can of course reimplement your own recursive routines on top of it but then you're reinventing the wheel that other modules already implement.
While File::Find may seem "longer to code" it's not that bad; you may find File::Find::Rule more to your liking, but that will introduce an external dependency (albeit a pure Perl one so it's not that bad all things considered).
Never used the other module you mention so I probably can't really comment one way or the other.
Update: Let me nitpick myself and amend my first statement to glob is not recursive in and of itself but it will handle multiple directory levels if you give it a path with directory separators. If you really want to you can keep getting deeper and deeper with */*, */*/*, etc until you get back an empty list, but again that's reinventing wheels already solved better elsewhere.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|