Z
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
url => "git://github.com/tobyink/p5-z.git",
web => "https://github.com/tobyink/p5-z",
},
x_identifier => "http://purl.org/NET/cpan-uri/dist/Z/project",
},
"version" => 0.008,
};
my %dynamic_config;
do {
if ( $] lt '5.014' ) {
delete $meta->{prereqs}{runtime}{requires}{'Syntax::Keyword::Try'};
}
if ( $] lt '5.010' ) {
$meta->{prereqs}{runtime}{requires}{'UNIVERSAL::DOES'} = '0.001';
$meta->{prereqs}{runtime}{requires}{'Perl6::Say'} = '0.06';
}
if ( ! eval 'use JSON::MaybeXS 1.003000 ();' ) {
$meta->{prereqs}{runtime}{requires}{'JSON::PP'} = '2.0';
}
};
our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.008';
use Import::Into ();
use IO::Handle ();
use Module::Runtime qw( use_module );
use Zydeco::Lite qw( true false );
BEGIN {
*PERL_IS_MODERN = ( $] ge '5.014' ) ? \&true : \&false;
}
my $STRICT = 0;
$ENV{$_} && ++$STRICT && last for qw(
EXTENDED_TESTING
AUTHOR_TESTING
RELEASE_TESTING
PERL_STRICT
);
} #/ sub modules
sub compat_modules {
my $class = shift;
my @modules =
grep { my $name = $_->[0]; $name !~ /feature|Try/ } $class->modules;
push @modules, [ 'Try::Tiny', '0.30' ];
if ( $] ge '5.010' ) {
push @modules, [ 'feature', '0', qw( say ) ];
}
else {
push @modules, [ 'Perl6::Say', '0.06' ];
push @modules, [ 'UNIVERSAL::DOES', '0.001' ];
}
return @modules;
} #/ sub compat_modules
( run in 0.556 second using v1.01-cache-2.11-cpan-cc502c75498 )