in reply to flexible find

And why isn't this built on File::Find, for accuracy and portability? What was File::Find not doing that you needed it to do? Patches are better than forking the code.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: flexible find
by axelrose (Scribe) on Jan 27, 2002 at 23:34 UTC
    Many reasons, though perhaps only important to me:

    I used this as an exercise for OO programming. I have so many scripts working on a directory tree, collecting information and doing something with it. The shown script will help me to put it all into a single scheme.

    Using File::Find I import another 5 modules. I like to avoid this for building MacPerl standalones

    Another aspect of the whole script (not concerning File::Find) is having the same "find" interface under MacPerl.

    I was impressed by MJDs Idendity charts

    Lastly - I found your TieFinder example which avoids File::Find too :)

    How could I improve the overall design, be it for educational purposes?