Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: When should a wheel be reinvented

by perrin (Chancellor)
on Jun 29, 2004 at 18:38 UTC ( #370570=note: print w/replies, xml ) Need Help??

in reply to When should a wheel be reinvented

In this specific case, File::Find::Rule might fix the problem for you.

Replies are listed 'Best First'.
•Re^2: When should a wheel be reinvented
by merlyn (Sage) on Jun 29, 2004 at 19:15 UTC
Re^2: When should a wheel be reinvented
by autarch (Hermit) on Jun 30, 2004 at 06:12 UTC

    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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://370570]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-04-18 06:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found