1Data::Stream::Bulk::PatUhs:e:rClCaosnst(r3i)buted Perl DDoactuam:e:nSttarteiaomn::Bulk::Path::Class(3)
2
3
4
6 Data::Stream::Bulk::Path::Class - Path::Class::Dir traversal
7
9 use Data::Stream::Bulk::Path::Class;
10
11 my $dir = Data::Stream::Bulk::Path::Class->new(
12 dir => Path::Class::Dir->new( ... ),
13 );
14
16 This stream produces depth or breadth first traversal order recursion
17 through Path::Class::Dir objects.
18
19 Items are read iteratively, and a stack of open directory handles is
20 used to keep track of state.
21
23 chunk_size
24 Defaults to 250.
25
26 depth_first
27 Chooses between depth first and breadth first traversal order.
28
29 only_files
30 If true only Path::Class::File items will be returned in the output
31 streams (no directories).
32
34 is_done
35 Returns true when no more files are left to iterate.
36
37 next
38 Returns the next chunk of Path::Class objects
39
41 Yuval Kogman <nothingmuch@woobling.org>
42
44 This software is copyright (c) 2010 by Yuval Kogman.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.12.1 2010-08-24Data::Stream::Bulk::Path::Class(3)