Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Path::IsDev::HeuristicSet - Base class for sets of heuristics
VERSION
version 0.6.0
SYNOPSIS
This class exists now for compatibility reasons.
You should instead with
a ::Role::HeuristicSet
*
package Path::IsDev::HeuristicSet::Author::KENTNL;
use parent 'Path::IsDev::HeuristicSet';
sub heuristics {
return 'META', 'VSC::Git'
}
sub negative_heuristics {
return 'IsDev::IgnoreFile'
}
Or alternatively:
sub modules {
return ( 'Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile', 'Path::IsDev::Heuristic::META', 'Path::IsDev::Heuristic::VCS::Git', )
}
And the real work is done by:
Path::IsDev::HeuristicSet::Author::KENTNL->matches( $result_object );
METHODS
modules
Returns the list of fully qualified module names that comprise this heuristic.
Default implementation expands results from ->heuristics
AUTHOR
Kent Fredric <kentfredric@gmail.com>
COPYRIGHT AND LICENSE
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.