Acme-BLACKJ-Utils
view release on metacpan or search on metacpan
my $builder = Module::Build->new(
module_name => 'Acme::BLACKJ::Utils',
license => 'Artistic_2_0',
dist_author => q{Jeff Black <jblackx-perl@yahoo.com>},
dist_version_from => 'lib/Acme/BLACKJ/Utils.pm',
release_status => 'stable',
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'Test::More' => 0,
},
requires => {
#'ABC' => 1.6,
#'Foo::Bar::Module' => 5.0401,
},
add_to_cleanup => [ 'Acme-BLACKJ-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-BLACKJ-Utils",
"prereqs" : {
"build" : {
"requires" : {
"Test::More" : "0"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0"
}
}
},
"provides" : {
"Acme::BLACKJ::Utils" : {
---
abstract: 'The great new Acme::BLACKJ::Utils!'
author:
- 'Jeff Black <jblackx-perl@yahoo.com>'
build_requires:
Test::More: 0
configure_requires:
Module::Build: 0
dynamic_config: 1
generated_by: 'Module::Build version 0.4004, CPAN::Meta::Converter version 2.130880'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Acme-BLACKJ-Utils
provides:
Makefile.PL view on Meta::CPAN
# Note: this file was auto-generated by Module::Build::Compat version 0.4004
use ExtUtils::MakeMaker;
WriteMakefile
(
'NAME' => 'Acme::BLACKJ::Utils',
'VERSION_FROM' => 'lib/Acme/BLACKJ/Utils.pm',
'PREREQ_PM' => {
'Test::More' => 0
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
'PL_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::BLACKJ::Utils' ) || print "Bail out!\n";
}
diag( "Testing Acme::BLACKJ::Utils $Acme::BLACKJ::Utils::VERSION, Perl $], $^X" );
#!perl -T
use 5.006;
use strict;
use warnings FATAL => 'all';
use Test::More;
BEGIN {
use_ok( 'Acme::BLACKJ::Utils' ) || print "Bail out!\n";
}
diag( "Testing Acme::BLACKJ::Utils $Acme::BLACKJ::Utils::VERSION, Perl $], $^X" );
ok( defined &Acme::BLACKJ::Utils::sum, 'Acme::BLACKJ::Utils::sum is defined' );
ok( &Acme::BLACKJ::Utils::sum(1, 1) eq 2, 'Sum of 1 + 1 should equal 2');
ok( &Acme::BLACKJ::Utils::sum(1, 2) ne 2, 'Sum of 1 + 2 should not equal 2');
ok( &Acme::BLACKJ::Utils::sum(1, 3) gt 3, 'Sum of 1 + 3 should be > 3');
ok( &Acme::BLACKJ::Utils::sum(1, 4) lt 6, 'Sum of 1 + 4 should be < 6');
ok( &Acme::BLACKJ::Utils::sum(0, 0) eq 0, 'Sum of 0 + 0 should equal 0');
ok( &Acme::BLACKJ::Utils::sum(1, 10) gt 10, 'Sum of 1 + 10 should be > 10');
ok( &Acme::BLACKJ::Utils::sum('1', 10) gt 10, 'Sum of 1 string and number should be > 10');
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();
( run in 0.546 second using v1.01-cache-2.11-cpan-4d50c553e7e )