in reply to Re^4: Use Of Glob On File Extensions (find/rule)
in thread Use Of Glob On File Extensions

File::Find::Rule uses opendir/readdir/closedir so that you don't have do -- work is for suckers
I believe there is some value in learning how to write a recursive tree traversal function.
  • Comment on Re^5: Use Of Glob On File Extensions (find/rule)

Replies are listed 'Best First'.
Re^6: Use Of Glob On File Extensions (find/rule)
by Anonymous Monk on Nov 19, 2014 at 02:26 UTC

    I believe there is some value in learning how to write a recursive tree traversal function.

    Sure, if you're trying to learn about recursion, if all you want to do is rename some files, its just work ...

    I see readdir suggested every time a glob/File::Find type question comes up, the OP is never looking to learn about recursion, they just want a list of paths, so just use readdir is always off the mark