|
FTS - Perl extension for File Traversing System |
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 the File::Find::Object manpage 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.
new($dir)Constructs a new File::FTS object that operates on the directory $dir.
Dive()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), the File::Find manpage, fts(3), the File::Find::Object manpage.
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.
|
FTS - Perl extension for File Traversing System |