http://www.perlmonks.org?node_id=370688


in reply to Re: When should a wheel be reinvented
in thread When should a wheel be reinvented

Of course, what I really would love to see is something that had an API like File::Find::Rule (or File::Finder) but that didn't wrap File::Find.

Why? Because File::Find gets all the files/directories/etc first, and then starts calling its callback. When dealing with a very large tree, it's memory-inefficient, and you end up waiting forever for the first call to happen. So annoying.

  • Comment on Re^2: When should a wheel be reinvented