Directory::Scanner - Streaming directory scanner
version 0.01
# get all entries in a directory Directory::Scanner->for( $dir )->stream; # get all entries in a directory recursively Directory::Scanner->for( $dir ) ->recurse ->stream; # get all entries in a directory recusively # and filter out anything that is not a directory Directory::Scanner->for( $dir ) ->recurse ->match(sub { $_->is_dir }) ->stream; # ignore anything that is a . directory, then recurse Directory::Scanner->for( $dir ) ->ignore(sub { $_->basename =~ /^\./ }) ->recurse ->stream;
Stevan Little <stevan@cpan.org>
This software is copyright (c) 2017 by Stevan Little.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Directory::Scanner, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Directory::Scanner
CPAN shell
perl -MCPAN -e shell install Directory::Scanner
For more information on module installation, please visit the detailed CPAN module installation guide.