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 version 0.11
10
12 use Data::Stream::Bulk::Path::Class;
13
14 my $dir = Data::Stream::Bulk::Path::Class->new(
15 dir => Path::Class::Dir->new( ... ),
16 );
17
19 This stream produces depth or breadth first traversal order recursion
20 through Path::Class::Dir objects.
21
22 Items are read iteratively, and a stack of open directory handles is
23 used to keep track of state.
24
26 chunk_size
27 Defaults to 250.
28
29 depth_first
30 Chooses between depth first and breadth first traversal order.
31
32 only_files
33 If true only Path::Class::File items will be returned in the output
34 streams (no directories).
35
37 is_done
38 Returns true when no more files are left to iterate.
39
40 next
41 Returns the next chunk of Path::Class objects
42
44 Yuval Kogman <nothingmuch@woobling.org>
45
47 This software is copyright (c) 2012 by Yuval Kogman.
48
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51
52
53
54perl v5.32.0 2020-07-28Data::Stream::Bulk::Path::Class(3)