Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: When should a wheel be reinvented

by perrin (Chancellor)
on Jun 29, 2004 at 18:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://370570]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found