NAME

Directory::Scanner - Streaming directory scanner

VERSION

version 0.01

SYNOPSIS

# 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;

AUTHOR

Stevan Little <stevan@cpan.org>

COPYRIGHT AND LICENSE

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.