Directory::Transactional::Stream - Traverse files in Directory::Transactional
version 0.09
$dir->file_stream( depth_first => 1, );
This stream produces depth or breadth first traversal order recursion through a Directory::Transactional object, providing a view of the head transaction.
The directory to list. Defaults to "" (the root directory).
""
Defaults to 250.
Chooses between depth first and breadth first traversal order.
If true only Path::Class::File items will be returned in the output streams (no directories).
Returns true when no more files are left to iterate.
Returns the next chunk of Path::Class objects
To install Directory::Transactional, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Directory::Transactional
CPAN shell
perl -MCPAN -e shell install Directory::Transactional
For more information on module installation, please visit the detailed CPAN module installation guide.