Data::Stream::Bulk::Path::Class - the Path::Class::Dir manpage traversal
version 0.11
use Data::Stream::Bulk::Path::Class;
my $dir = Data::Stream::Bulk::Path::Class->new(
dir => Path::Class::Dir->new( ... ),
);
This stream produces depth or breadth first traversal order recursion through
the Path::Class::Dir manpage objects.
Items are read iteratively, and a stack of open directory handles is used to
keep track of state.
- chunk_size
-
Defaults to 250.
- depth_first
-
Chooses between depth first and breadth first traversal order.
- only_files
-
If true only the Path::Class::File manpage items will be returned in the output streams
(no directories).
- is_done
-
Returns true when no more files are left to iterate.
- next
-
Returns the next chunk of the Path::Class manpage objects
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2012 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
|