, so you'll only get the "default".
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 UNDERSTANDING AND DEBUGGING THIS MODULE
Un
=0] + ::Tool::ModuleBuild => 0 : Build.PL does not exist
[Path::IsDev=0] + ::META => 0 : META.json does not exist
[Path::IsDev=0] + ::META => 1 : META.yml exists
[Path::IsDev=0] + ::META =
|Path::IsDev::Heuristic::META >> - C<META.yml>/C<META.json>
=item * L<< C<MYMETA>|Path::IsDev::Heuristic::MYMETA >> - C<MYMETA.yml>/C<MYMETA.json>
=item * L<< C<Makefile>|Path::IsDev::Heuristic::Mak
$class->_this_child_isfile( $result_object, $child_path ) ) {
...
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File",
"
":"role",
"does":"Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
es( $result_object ) ) {
# one of the directories in ->dirs exists
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::TestDir",
"interface":"single_class",
Heuristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
tches>
Matches if any of the files in C<files> exist as children of the C<path>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::Makefile",
"interface":"single_class",
euristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::File"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
type
positive heuristic
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Heuristic",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org
:META;
our $VERSION = '1.001003';
# ABSTRACT: Determine if a path contains META.(json|yml)
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Role::Tiny::With qw( with );
with 'Path::I
, 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
sub files {
return qw( META.json META.yml );
}
sub matches {
my ( $self, $result_object ) = @_;
if ( $self->child_exist
- Determine if a path contains META.(json|yml)
=head1 VERSION
version 1.001003
=head1 METHODS
=head2 C<files>
files relevant to this heuristic:
META.json
META.yml
=head2 C<matches>
Mat
:Heuristic::MYMETA;
our $VERSION = '1.001003';
# ABSTRACT: Determine if a path contains MYMETA.(json|yml)
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Role::Tiny::With qw( with )
'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
sub files {
return qw( MYMETA.json MYMETA.yml );
}
sub matches {
my ( $self, $result_object ) = @_;
if ( $self->child_exi
ncoding UTF-8
=head1 NAME
Path::IsDev::Heuristic::MYMETA - Determine if a path contains MYMETA.(json|yml)
=head1 VERSION
version 1.001003
=head1 DESCRIPTION
This heuristic is intended as a guara
ns a match if any child of C<path> exists matching the regexp C<basename_regexp>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::Changelog",
"interface":"single_class",
:Heuristic", "Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File" ]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
$result_object->path
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::HeuristicSet",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.o
path that matches a C<realpath> of a L<< C<File::HomeDir> path|File::HomeDir >>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::NegativeHeuristic::HomeDir",
"interface":"single_clas
gativeHeuristic",
"Path::IsDev::Role::Matcher::FullPath::Is::Any"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
ll real code.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Object",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <
ibexp};
=head2 C<excludes>
Excludes a path if its full path is any of C<paths>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::NegativeHeuristic::PerlINC",
"interface":"single_clas
gativeHeuristic",
"Path::IsDev::Role::Matcher::FullPath::Is::Any"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
tches>
Matches if any of the files in C<files> exist as children of the C<path>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::DevDirMarker",
"interface":"single_class",
euristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::File"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
negative heuristic
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::NegativeHeuristic",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan
gin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::HeuristicSet::Basic",
"interface":"single_class",
"does":"Path::IsDev::Role::HeuristicSet::Simple"
}
=end MetaPOD::JSON
=head1 AUTH
OD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir",
"interface":"role",
"does":"Path::IsDev::Role::Matcher::Child::Exists::Any"
}
=end MetaPOD::JSON
=h
eturn if they match.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::FullPath::Is::Any",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
...
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <k
OD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::Matcher::Child::Exists::Any::File",
"interface":"role",
"does":"Path::IsDev::Role::Matcher::Child::Exists::Any"
}
=end MetaPOD::JSON
=
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Role::HeuristicSet::Simple",
"interface":"role",
"does":"Path::IsDev::Role::HeuristicSet"
}
=end MetaPOD::JSON
=head1 AUTHOR