data64 has asked for the wisdom of the Perl Monks concerning the following question:

In the ActiveState distribution of Perl for win32 platform, someone at work pointed out a module called File::Recurse. I had never heard of it before. It seems to be installed with the File::Tools bundle on ActiveState. It seems have similar functionality to File::Find

Has anyone played with it or know much about it. Is it a standard module bundled with most perl distributions or is a proprietary or obsolete module ? Is there any point in using it instead of File::Find ?

The only reference I found in SuperSearch was Errors in File::Recurse()? which seems to suggest File::Find might be a bit faster.


Excerpts from File::Recurse Documentation:
The File::Recurse module is designed for performing an operation on a tree of directories and files. The basic usage is simmilar to the find.pl library. Once one uses the File::Recurse module, you need only call the recurse function in order to perform recursive directory operations.

AUTHOR Written in 1996 by Aaron Sherman, ajs@ajs.com


Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd

edited: Wed Oct 16 16:09:54 2002 by jeffa - fixed cpan link (Unladened, empty and turned to stone)

Replies are listed 'Best First'.
Re: File::Find v/s File::Recurse
by runrig (Abbot) on Oct 15, 2002 at 22:44 UTC
    If you're looking for an interesting alternative to File::Find, take a look at File::Find::Rule...I don't know about File::Recurse, but it looks a bit unmaintained and redundant (update: Ok, maybe its just a simplified File::Find).

    Update: actually both 'alternatives' are just front-ends to File::Find itself, though I think File::Find::Rule is niftier (i.e. more full-featured), while File::Recurse is simpler but more limited in functionality.