Path::IsDev::NegativeHeuristic - Anti-Heuristic Base class
version 0.6.0
This class exists for compatibility.
New code should with ::Role::NegativeHeuristic::*
with
::Role::NegativeHeuristic::
excludes
Determines if the current negative heuristic excludes a given path
my $result = $heuristic->excludes( $result_object );
The default implementation takes values from ->files and ->dirs and returns true as soon as any match satisfies.
->files
->dirs
_file_excludess
Glue layer between ->excludes and ->files
->excludes
# iterate $heuristic->files looking for a match $heurisitic->_file_excludes( $result_object );
_dir_excludes
Glue layer between ->excludes and ->dirs
# iterate $heuristic->dirs looking for a match $heurisitic->_dir_excludes( $result_object );
Kent Fredric <kentfredric@gmail.com>
This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Path::IsDev, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Path::IsDev
CPAN shell
perl -MCPAN -e shell install Path::IsDev
For more information on module installation, please visit the detailed CPAN module installation guide.