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::Tool::Dzil",
"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
cludes>
Returns an exclusion if any of C<excludes_files> exists, and are files.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile",
"interface":"s
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
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::Tool::MakeMaker",
"interface":"single_clas
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
turn a match if any children of C<path> exist called C<.git> and are directories
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::VCS::Git",
"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::Tool::ModuleBuild",
"interface":"single_cl
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
d2 C<reasons>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Result",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <
roblem by defining it in the metadata.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::MetaProvides"
}
=end MetaPOD::JSON
=for Pod::Coverage register_component
=head1 COMPONE
ha1> internals.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Git::Wrapper::Plus::Ref",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <ke
eld};
}
sub DESTROY { }
1;
__END__
=encoding utf-8
=head1 NAME
Megaport::Internal::_Obj - Turn JSON objects into Perl objects with accessors
=head1 SYNOPSIS
my $eq1 = $mp->session->locations-
ev directory
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::FindDev::Object",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric
UIRES
=head2 C<to_s>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Role::Filter::Node",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@
ersion 1.000009
=head1 SYNOPSIS
dzil dumpphases --color-theme=basic::plain
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::dumpphases::Theme:::basic::plain",
"does":"Dist::Zill
dumpphases::Role::Theme",
"inherits":"Moo::Object",
"interface":"class"
}
=end MetaPOD::JSON
=for html <center>
<img src="http://kentnl.github.io/screenshots/Dist-Zilla-App-Command-dumpph
ersion 1.000009
=head1 SYNOPSIS
dzil dumpphases --color-theme=basic::green
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::dumpphases::Theme:::basic::green",
"does":"Dist::Zill
ole::Theme::SimpleColor",
"inherits":"Moo::Object",
"interface":"class"
}
=end MetaPOD::JSON
=for html <center>
<img src="http://kentnl.github.io/screenshots/Dist-Zilla-App-Command-dumpph
er
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::App::Command::dumpwith",
"inherits":"Dist::Zilla::App::Command",
"interface":"class"
}
=end MetaPOD::JSON
=head1 KNOWN ISSUE
MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::dumpphases::Role::Theme::SimpleColor",
"does":"Dist::Zilla::dumpphases::Role::Theme",
"interface":"role"
}
=end MetaPOD::JSON
=head1 R
version 1.000009
=head1 SYNOPSIS
dzil dumpphases --color-theme=basic::blue
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::dumpphases::Theme:::basic::blue",
"does":"Dist::Zilla
ole::Theme::SimpleColor",
"inherits":"Moo::Object",
"interface":"class"
}
=end MetaPOD::JSON
=for html <center>
<img src="http://kentnl.github.io/screenshots/Dist-Zilla-App-Command-dumpph
version 1.000009
=head1 SYNOPSIS
dzil dumpphases --color-theme=basic::red
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::dumpphases::Theme:::basic::red",
"does":"Dist::Zilla:
ole::Theme::SimpleColor",
"inherits":"Moo::Object",
"interface":"class"
}
=end MetaPOD::JSON
=for html <center>
<img src="http://kentnl.github.io/screenshots/Dist-Zilla-App-Command-dumpph
ent;
use 5.10.0;
use strict;
use warnings;
our $VERSION = "1.00";
use Carp qw(carp cluck);
use JSON::XS;
use HTTP::Request;
use LWP::UserAgent;
use Class::Tiny qw(token uri no_verify debug errstr)
ebug;
my $obj;
eval { $obj = decode_json $response->decoded_content };
if ($@) {
$self->errstr('LoginError: API did not return valid JSON') and return;
}
if (!$response->is
lf->debug;
my $obj;
eval { $obj = decode_json $response->decoded_content };
if ($@) {
$self->errstr('RequestError: API did not return valid JSON') and return;
}
if (!$response->is_succ
OD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Role::Filter::Rule::PlainText",
"interface":"role",
"does":"CPAN::Changes::Markdown::Role::Filter::Rule"
}
=end MetaPOD::JSON
=h
of domain Test::Deep::YAML and Test::Deep::JSON are
targeted at, but implemented in a more generic way.
cmp_deeply( $got, { payload => filter(\&decode_json, { x => 1 }) } )
This would perform matc
er the key via
C<&decode_json>, and then compare the resulting structure with
C<< { x => 1 } >>.
This would in theory be equivalent to:
cmp_deeply( $got, { payload => json({ x => 1 }) } )
Except