SWISH::Prog::Find - search one or more directory trees for files to index
use SWISH::Prog; my $indexer = SWISH::Prog->new; my $finder = $indexer->find('some/dir'); until($finder->done) { my $doc = $indexer->fetch($finder->next); $indexer->index( $doc ) if $indexer->ok( $doc ); }
SWISH::Prog::Find is a subclass of Path::Class::Iterator.
# TODO
Path::Class::Iterator
http://swish-e.org/docs/
SWISH::Prog, Path::Class::Iterator
Peter Karman, <perl@peknet.com>
Copyright 2006 by Peter Karman
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install SWISH::Prog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SWISH::Prog
CPAN shell
perl -MCPAN -e shell install SWISH::Prog
For more information on module installation, please visit the detailed CPAN module installation guide.