Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: When should a wheel be reinvented

by ihb (Deacon)
on Jun 29, 2004 at 14:37 UTC ( [id://370569]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to When should a wheel be reinvented

I search CPAN to see if anyone else found this an annoyance. If that gives nothing or that other modules aren't good enough in other aspects, I have to consider whether it's a crusial design change (that would make it fit into a pattern I use in the project), if I can live with it, or how big an effort it would be to rewrite it and if I'm good enough on the subject to rewrite an equally good module. The result of that consideration depends on the situation. There's too many circumstances involved that I can't give you a better answer than that. But the first step is always (or should be) to see if anyone has done it for you and evaluate those solutions.

In the particular case of File::Find there are plenty of other modules that does the same thing with different interfaces.

ihb

Replies are listed 'Best First'.
Re^2: When should a wheel be reinvented
by etcshadow (Priest) on Jun 29, 2004 at 17:39 UTC
    In the particular case of File::Find there are plenty of other modules that does the same thing with different interfaces.

    Of course, the particular problem in the case of File::Find is that it has been christened by the community as the way to do directory traversal. I know that I've been slammed in the past for mentioning that I wanted to do things in a way that was incompatible with File::Find.

    Also, most of the other ways to do directory traversal are wrappers arround File::Find (File::Finder, File::Find::Rule, for example). All others (that I know of) do it poorly (as well as older versions of File::Find... which are all that work on older perls).

    ------------ :Wq Not an editor command: Wq

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://370569]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.