Data-Perl
view release on metacpan or search on metacpan
"Module::Runtime" : "0",
"Role::Tiny" : "0",
"Scalar::Util" : "0",
"parent" : "0",
"strictures" : "0"
}
},
"test" : {
"requires" : {
"Test::Deep" : "0",
"Test::Fatal" : "0",
"Test::Output" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/tobyink/Data-Perl/issues"
},
"homepage" : "https://github.com/tobyink/Data-Perl",
---
abstract: 'Base classes wrapping fundamental Perl data types.'
author:
- 'Matthew Phillips <mattp@cpan.org>'
build_requires:
Test::Deep: '0'
Test::Fatal: '0'
Test::Output: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Data-Perl
Makefile.PL view on Meta::CPAN
"List::MoreUtils" => 0,
"List::Util" => 0,
"Module::Runtime" => 0,
"Role::Tiny" => 0,
"Scalar::Util" => 0,
"parent" => 0,
"strictures" => 0
},
"TEST_REQUIRES" => {
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::Output" => 0
},
"VERSION" => "0.002011",
"test" => {
"TESTS" => "t/*.t t/collection/*.t"
}
);
my %FallbackPrereqs = (
"Class::Method::Modifiers" => 0,
"List::MoreUtils" => 0,
"List::Util" => 0,
"Module::Runtime" => 0,
"Role::Tiny" => 0,
"Scalar::Util" => 0,
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::Output" => 0,
"parent" => 0,
"strictures" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
Scalar::Util = 0
List::Util = 0
List::MoreUtils = 0
Role::Tiny = 0
Class::Method::Modifiers = 0
Module::Runtime = 0
parent = 0
[Prereqs / TestRequires]
Test::Output = 0
Test::Fatal = 0
Test::Deep = 0
[Run::BeforeRelease]
run = cp %d%pREADME.mkdn .
use Test::More;
use Data::Perl;
use strict;
use Scalar::Util qw/reftype/;
use Test::Fatal qw/dies_ok/;
# constructor
is ref(code(sub{})), 'Data::Perl::Code', 'constructor shortcut works';
is code->execute, undef, 'execute on blank sub returns correct undef';
my $b = code(sub { 2 });
is reftype($b), 'CODE', 'inner struct is coderef of ctr';
is $b->(), 2, 'coderef returns correct value';
( run in 1.343 second using v1.01-cache-2.11-cpan-54e63673c56 )