in reply to File::Find considered hard?

See Re: Are you looking at XML processing the right way? (merge) for why callbacks are fundamentally worse than several other interfaces.

Another problem with File::Find's interface is that the order in which you get things isn't always the order you want or expect. You also don't get told when you go down or up a level.

I find that it is often easier for me to just write a directory searcher than to figure out how to do what I want with File::Find (since I will make the decisions about exactly what order to do things and when I go up and down a level is clear).

And remember that you always want to set $dont_use_nlink unless you are only interested in file names, not any file properties.

- tye        

  • Comment on Re: File::Find considered hard? (callbacks)