in reply to File::Finder 0.01 released

How about adding "mindepth" & "maxdepth" features (that control the depth of directory to start in and not exceeding a certain depth respectively.)?

It was a surprise to me that File::Find (my version is 1.05) lacked it on its own. It will be swell if your modules introduces above two much needed features.

Replies are listed 'Best First'.
•Re: Re: File::Finder 0.01 released
by merlyn (Sage) on Dec 17, 2003 at 23:13 UTC
    Of course, you could get those already with:
    File::Finder->eval(sub { $File::Find::name =~ tr././. > 3 })-> ...;
    But I suspect over time that I'll add every flag that GNUfind has. I just wanted the initial release to be fairly complete with respect to find2perl, which it is.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.