NAME IO::All::Rule - File finder based on Path::Iterator::Rule, but using IO::All VERSION version 0.001 SYNOPSIS use IO::All::Rule; my $rule = IO::All::Rule->new; # match anything $rule->file->size(">10k"); # add/chain rules # iterator interface my $next = $rule->iter( @dirs ); while ( my $file = $next->() ) { ... } # list interface for my $file ( $rule->all( @dirs ) ) { ... } DESCRIPTION This module iterates over files and directories to identify ones matching a user-defined set of rules. This is a thin subclass of Path::Iterator::Rule that operates on and returns IO::All objects instead of bare file paths. See that module for details on features and usage. EXTENDING This module may be extended in the same way as "Path::Iterator::Rule", but test subroutines receive "IO::All" objects instead of strings. Consider whether you should extend "Path::Iterator::Rule" or "IO::All::Rule". Extending this module specifically is recommended if your tests rely on having a "IO::All" object. LEXICAL WARNINGS If you run with lexical warnings enabled, "Path::Iterator::Rule" will issue warnings in certain circumstances (such as a read-only directory that must be skipped). To disable these categories, put the following statement at the correct scope: no warnings 'Path::Iterator::Rule'; SUPPORT Bugs / Feature Requests Please report any bugs or feature requests through the issue tracker at . You will be notified automatically of any progress on your issue. Source Code This is open source software. The code repository is available for public review and contribution under the terms of the license. git clone git://github.com/dagolden/io-all-rule.git AUTHOR David Golden COPYRIGHT AND LICENSE This software is Copyright (c) 2013 by David Golden. This is free software, licensed under: The Apache License, Version 2.0, January 2004