FTS - Perl extension for File Traversing System
This module is depcrecated and no longer actively maintained, except for some maintenance. It is kept on CPAN for backwards compatibility. You should look at File::Find::Object instead, which is more complete and more actively maintained.
use File::FTS; my $fts = new File::FTS("/usr/local"); while (my $file = $fts->Dive) { print "$file\n"; }
This is similar to File::Find, but works non recursively. Symbolic links to directories are skipped.
Inspired by the BSD fts library.
Constructs a new File::FTS object that operates on the directory $dir.
Returns the next file.
Original Author: Ariel Brosh, http://search.cpan.org/author/SCHOP/ (Ariel has unexpectdly passed away and this module has been adopted by others)
Current Maintainer: Shlomi Fish, http://search.cpan.org/author/SHLOMIF/
perl(1), File::Find, fts(3), File::Find::Object.
This module did not contain any license information when I inherited it from its deceased author. According to my interpretation it is licensed according to the terms of perl5 itself.
To install File::FTS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::FTS
CPAN shell
perl -MCPAN -e shell install File::FTS
For more information on module installation, please visit the detailed CPAN module installation guide.