Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2019-10-21 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?