Acme-ALEXEY-Utils
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
my $builder = Module::Build->new(
module_name => 'Acme::ALEXEY::Utils',
license => 'artistic_2',
dist_author => q{Alexey Morar <alexeymorar0@gmail.com >},
dist_version_from => 'lib/Acme/ALEXEY/Utils.pm',
release_status => 'stable',
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'Test::More' => 0,
},
requires => {
'Exporter' => 0,
},
add_to_cleanup => [ 'Acme-ALEXEY-Utils-*' ],
create_makefile_pl => 'traditional',
);
$builder->create_build_script();
"artistic_2"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Acme-ALEXEY-Utils",
"prereqs" : {
"build" : {
"requires" : {
"Test::More" : "0"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0"
}
},
"runtime" : {
"requires" : {
"Exporter" : "0"
---
abstract: 'The great new Acme::ALEXEY::Utils!'
author:
- 'Alexey Morar <alexeymorar0@gmail.com >'
build_requires:
Test::More: '0'
configure_requires:
Module::Build: '0'
dynamic_config: 1
generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.150001'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Acme-ALEXEY-Utils
provides:
Makefile.PL view on Meta::CPAN
# Note: this file was auto-generated by Module::Build::Compat version 0.4003
use ExtUtils::MakeMaker;
WriteMakefile
(
'PREREQ_PM' => {
'Exporter' => 0,
'Test::More' => 0
},
'NAME' => 'Acme::ALEXEY::Utils',
'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'VERSION_FROM' => 'lib/Acme/ALEXEY/Utils.pm',
'EXE_FILES' => []
)
;
t/00-load.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
plan tests => 1;
BEGIN {
use_ok( 'Acme::ALEXEY::Utils' ) || print "Bail out!\n";
}
diag( "Testing Acme::ALEXEY::Utils $Acme::ALEXEY::Utils::VERSION, Perl $], $^X" );
t/boilerplate.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
plan tests => 3;
sub not_in_file_ok {
my ($filename, %regex) = @_;
open( my $fh, '<', $filename )
or die "couldn't open $filename for reading: $!";
my %violated;
t/manifest.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
my $min_tcm = 0.9;
eval "use Test::CheckManifest $min_tcm";
plan skip_all => "Test::CheckManifest $min_tcm required" if $@;
ok_manifest();
t/pod-coverage.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
if $@;
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
if $@;
all_pod_coverage_ok();
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
# Ensure a recent version of Test::Pod
my $min_tp = 1.22;
eval "use Test::Pod $min_tp";
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
all_pod_files_ok();
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
BEGIN {
use_ok( 'Acme::ALEXEY::Utils' ) || print "Bail out!\n";
}
ok (defined &sum, 'sum is defined');
is (sum(5,2), 7, '5 + 2 = 7');
is (sum(-4,5,15.2), 16.2, '-4 + 5 + 15.2 = 16.2');
eval {sum('fewfew', '-4.623');};
ok ($@, "can't sum nonnumeric arguments");
&done_testing();
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.699 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )