Data::Stream::Bulk::Path::Class(3pm)

Data::Stream::Bulk::Path::Class3pm

Path::class::dir traversal

Usage

        use Data::Stream::Bulk::Path::Class;
        my $dir = Data::Stream::Bulk::Path::Class->new(
                dir => Path::Class::Dir->new( ... ),
        );

Version

version 0.11

Overview

This stream produces depth or breadth first traversal order recursion through Path::Class::Dir objects.

Items are read iteratively, and a stack of open directory handles is used to keep track of state.

Attributes

chunk_size

Defaults to 250.

depth_first

Chooses between depth first and breadth first traversal order.

only_files

If true only Path::Class::File items will be returned in the output streams (no directories).

Methods

is_done

Returns true when no more files are left to iterate.

next

Returns the next chunk of Path::Class objects

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–10
  3. 11–13

Author

Yuval Kogman <[email protected]>

From libdata-stream-bulk-perl 0.11-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.