diff -Nru libextutils-modulemaker-perl-0.55/Changes libextutils-modulemaker-perl-0.56/Changes --- libextutils-modulemaker-perl-0.55/Changes 2016-01-03 22:51:36.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/Changes 2017-01-30 16:56:51.000000000 +0000 @@ -1,5 +1,12 @@ Revision history for Perl extension ExtUtils::ModuleMaker. +0.56 January 30, 2017 + +Removed all test files using 'scripts/modulemaker' as first step in +diagnosing problem reported in +https://rt.cpan.org/Ticket/Display.html?id=111637. No changes in +functionality. + 0.55 January 03, 2016 Prodded by Chris Kirke during the CPAN Pull Request Challenge, standardized diff -Nru libextutils-modulemaker-perl-0.55/debian/changelog libextutils-modulemaker-perl-0.56/debian/changelog --- libextutils-modulemaker-perl-0.55/debian/changelog 2016-06-30 13:57:52.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/debian/changelog 2017-11-21 21:30:44.000000000 +0000 @@ -1,3 +1,12 @@ +libextutils-modulemaker-perl (0.56-1) unstable; urgency=medium + + * Team upload + + * New upstream version 0.56 + * declare conformance with Policy 4.1.1 (no changes needed) + + -- Damyan Ivanov Tue, 21 Nov 2017 21:30:44 +0000 + libextutils-modulemaker-perl (0.55-1) unstable; urgency=medium * Team upload. diff -Nru libextutils-modulemaker-perl-0.55/debian/control libextutils-modulemaker-perl-0.56/debian/control --- libextutils-modulemaker-perl-0.55/debian/control 2016-06-30 13:57:52.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/debian/control 2017-11-21 21:30:34.000000000 +0000 @@ -8,7 +8,7 @@ Build-Depends-Indep: libfile-save-home-perl, libio-capture-perl, perl -Standards-Version: 3.9.8 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libextutils-modulemaker-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libextutils-modulemaker-perl.git Homepage: https://metacpan.org/release/ExtUtils-ModuleMaker diff -Nru libextutils-modulemaker-perl-0.55/debian/copyright libextutils-modulemaker-perl-0.56/debian/copyright --- libextutils-modulemaker-perl-0.55/debian/copyright 2016-06-30 13:57:52.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/debian/copyright 2017-11-21 21:28:40.000000000 +0000 @@ -5,7 +5,7 @@ Files: * Copyright: 2001-2002, R. Geoffrey Avery - 2005-2016, James E. Keenan + 2005-2017, James E. Keenan License: Artistic or GPL-1+ Files: debian/* diff -Nru libextutils-modulemaker-perl-0.55/lib/ExtUtils/ModuleMaker/Auxiliary.pm libextutils-modulemaker-perl-0.56/lib/ExtUtils/ModuleMaker/Auxiliary.pm --- libextutils-modulemaker-perl-0.55/lib/ExtUtils/ModuleMaker/Auxiliary.pm 2016-01-03 22:51:35.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/lib/ExtUtils/ModuleMaker/Auxiliary.pm 2017-01-30 16:56:51.000000000 +0000 @@ -1,9 +1,9 @@ package ExtUtils::ModuleMaker::Auxiliary; use strict; # Contains test subroutines for distribution with ExtUtils::ModuleMaker -local $^W = 1; +use warnings; use vars qw( $VERSION @ISA @EXPORT_OK ); -$VERSION = 0.55; +$VERSION = 0.56; require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw( diff -Nru libextutils-modulemaker-perl-0.55/lib/ExtUtils/ModuleMaker/Defaults.pm libextutils-modulemaker-perl-0.56/lib/ExtUtils/ModuleMaker/Defaults.pm --- libextutils-modulemaker-perl-0.55/lib/ExtUtils/ModuleMaker/Defaults.pm 2016-01-03 22:51:35.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/lib/ExtUtils/ModuleMaker/Defaults.pm 2017-01-30 16:57:22.000000000 +0000 @@ -1,7 +1,7 @@ package ExtUtils::ModuleMaker::Defaults; use strict; use vars qw( $VERSION ); -$VERSION = 0.55; +$VERSION = 0.56; my $usage = <VERSION; diff -Nru libextutils-modulemaker-perl-0.55/MANIFEST libextutils-modulemaker-perl-0.56/MANIFEST --- libextutils-modulemaker-perl-0.55/MANIFEST 2016-01-03 22:55:03.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/MANIFEST 2017-01-30 16:58:59.000000000 +0000 @@ -11,7 +11,7 @@ lib/ExtUtils/ModuleMaker/StandardText.pm LICENSE Makefile.PL -MANIFEST +MANIFEST This list of files MANIFEST.SKIP README scripts/modulemaker @@ -23,7 +23,6 @@ t/07_proxy.t t/10_standard_text.t t/13_alt_block_new_method.t -t/14_mmkr_alt_block_new_method.t t/failsafe/201.t t/failsafe/202.t t/failsafe/203.t @@ -79,7 +78,6 @@ t/license/zlib.t t/makedefaults/1201.t t/makedefaults/1202.t -t/makedefaults/1203.t t/miscargs/901.t t/miscargs/902.t t/miscargs/903.t @@ -103,14 +101,6 @@ t/miscargs/921.t t/miscargs/922.t t/miscargs/923.t -t/mmkr/801.t -t/mmkr/802.t -t/mmkr/803.t -t/mmkr/804.t -t/mmkr/805.t -t/mmkr/806.t -t/mmkr/807.t -t/mmkr/808.t t/testlib/arbitrary.txt t/testlib/ExtUtils/ModuleMaker/Alt_block_new_method.pm t/testlib/ExtUtils/ModuleMaker/Testing/Defaults.pm diff -Nru libextutils-modulemaker-perl-0.55/META.json libextutils-modulemaker-perl-0.56/META.json --- libextutils-modulemaker-perl-0.55/META.json 2016-01-03 22:55:03.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/META.json 2017-01-30 16:58:59.000000000 +0000 @@ -4,7 +4,7 @@ "James E Keenan (jkeenan@cpan.org)" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -57,5 +57,6 @@ "web" : "https://github.com/jkeenan/extutils-modulemaker" } }, - "version" : 0.55 + "version" : 0.56, + "x_serialization_backend" : "JSON::PP version 2.27300_01" } diff -Nru libextutils-modulemaker-perl-0.55/META.yml libextutils-modulemaker-perl-0.56/META.yml --- libextutils-modulemaker-perl-0.55/META.yml 2016-01-03 22:55:03.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/META.yml 2017-01-30 16:58:59.000000000 +0000 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -28,4 +28,5 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-ModuleMaker homepage: http://thenceforward.net/perl/modules/ExtUtils-ModuleMaker/ repository: https://github.com/jkeenan/extutils-modulemaker.git -version: 0.55 +version: 0.56 +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -Nru libextutils-modulemaker-perl-0.55/README libextutils-modulemaker-perl-0.56/README --- libextutils-modulemaker-perl-0.55/README 2016-01-03 22:51:35.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/README 2017-01-30 16:56:51.000000000 +0000 @@ -1,7 +1,7 @@ ExtUtils::ModuleMaker - Better than h2xs for creating modules -This document refers to version 0.55 of ExtUtils::ModuleMaker. -This version was released January 03 2016. +This document refers to version 0.56 of ExtUtils::ModuleMaker. +This version was released January 30 2017. To install this module on your system, place the tarball archive file in a temporary directory and call the following: @@ -44,7 +44,7 @@ Development repository: https://github.com/jkeenan/extutils-modulemaker Copyright (c) 2001-2002 R. Geoffrey Avery. -Revisions from v0.33 forward (c) 2005-2016 James E. Keenan. All rights reserved. +Revisions from v0.33 forward (c) 2005-2017 James E. Keenan. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -Nru libextutils-modulemaker-perl-0.55/scripts/modulemaker libextutils-modulemaker-perl-0.56/scripts/modulemaker --- libextutils-modulemaker-perl-0.55/scripts/modulemaker 2016-01-03 22:51:35.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/scripts/modulemaker 2017-01-30 16:57:22.000000000 +0000 @@ -4,11 +4,11 @@ eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell use strict; -local $^W = 1; +use warnings; use ExtUtils::ModuleMaker::Interactive; use ExtUtils::ModuleMaker::Opts; use vars qw ( $VERSION ); -$VERSION = 0.55; +$VERSION = 0.56; my $opt = ExtUtils::ModuleMaker::Opts->new( q{ExtUtils::ModuleMaker}, @@ -33,8 +33,8 @@ =head1 VERSION -This document references version 0.55 of modulemaker, released -to CPAN on January 03 2016. +This document references version 0.56 of modulemaker, released +to CPAN on January 30 2017. =head1 USAGE::Simple diff -Nru libextutils-modulemaker-perl-0.55/t/01_ini.t libextutils-modulemaker-perl-0.56/t/01_ini.t --- libextutils-modulemaker-perl-0.55/t/01_ini.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/01_ini.t 2017-01-30 16:21:31.000000000 +0000 @@ -1,6 +1,6 @@ # t/01_ini.t - check module loading use strict; -local $^W = 1; +use warnings; use Test::More tests => 5; # qw(no_plan); diff -Nru libextutils-modulemaker-perl-0.55/t/03_quick.t libextutils-modulemaker-perl-0.56/t/03_quick.t --- libextutils-modulemaker-perl-0.55/t/03_quick.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/03_quick.t 2017-01-30 16:21:31.000000000 +0000 @@ -1,6 +1,6 @@ # t/03_quick.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 36; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/04_compact.t libextutils-modulemaker-perl-0.56/t/04_compact.t --- libextutils-modulemaker-perl-0.55/t/04_compact.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/04_compact.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/04_compact.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 25; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/05_abstract.t libextutils-modulemaker-perl-0.56/t/05_abstract.t --- libextutils-modulemaker-perl-0.55/t/05_abstract.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/05_abstract.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/05_abstract.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 35; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/06_build.t libextutils-modulemaker-perl-0.56/t/06_build.t --- libextutils-modulemaker-perl-0.55/t/06_build.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/06_build.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/06_build.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 23; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/07_proxy.t libextutils-modulemaker-perl-0.56/t/07_proxy.t --- libextutils-modulemaker-perl-0.55/t/07_proxy.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/07_proxy.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/07_proxy.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 57; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/10_standard_text.t libextutils-modulemaker-perl-0.56/t/10_standard_text.t --- libextutils-modulemaker-perl-0.55/t/10_standard_text.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/10_standard_text.t 2016-01-16 01:04:06.000000000 +0000 @@ -2,7 +2,7 @@ # tests of importation of standard text from # lib/ExtUtils/Modulemaker/Defaults.pm use strict; -local $^W = 1; +use warnings; use Test::More tests => 43; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/13_alt_block_new_method.t libextutils-modulemaker-perl-0.56/t/13_alt_block_new_method.t --- libextutils-modulemaker-perl-0.55/t/13_alt_block_new_method.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/13_alt_block_new_method.t 2016-01-16 01:04:06.000000000 +0000 @@ -2,7 +2,7 @@ # test whether methods overriding those provided by EU::MM::StandardText # create files as intended use strict; -local $^W = 1; +use warnings; use Test::More tests => 40; # qw(no_plan); diff -Nru libextutils-modulemaker-perl-0.55/t/14_mmkr_alt_block_new_method.t libextutils-modulemaker-perl-0.56/t/14_mmkr_alt_block_new_method.t --- libextutils-modulemaker-perl-0.55/t/14_mmkr_alt_block_new_method.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/14_mmkr_alt_block_new_method.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,92 +0,0 @@ -# t/14_mmkr_alt_block_new_method.t -use strict; -local $^W = 1; -use Test::More -tests => 39; -# qw(no_plan); -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'Cwd'); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - read_file_string - _subclass_preparatory_tests - _subclass_cleanup_tests - ) -); -use_ok( 'File::Copy' ); -use Carp; - -my $odir = cwd(); -my $prepref = _subclass_preparatory_tests($odir); -my $persref = $prepref->{persref}; -my $pers_def_ref = $prepref->{pers_def_ref}; -my %els1 = %{ $prepref->{initial_els_ref} }; -my $eumm_dir = $prepref->{eumm_dir}; -my $mmkr_dir_ref = $prepref->{mmkr_dir_ref}; - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (39 - 20) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - ######################################################################## - - { # Set: Alt_block_new_method - - # real tests go here - - my $alt = 'Alt_block_new_method.pm'; - copy( "$prepref->{sourcedir}/$alt", "$eumm_dir/$alt") - or die "Unable to copy $alt for testing: $!"; - ok(-f "$eumm_dir/$alt", "file copied for testing"); - - my $testmod = 'Beta'; - - ok(! system(qq{$^X -I"$odir/blib/lib" "$odir/blib/script/modulemaker" -Icn Alpha::$testmod -d ExtUtils::ModuleMaker::Alt_block_new_method }), - "able to call modulemaker utility"); - - ok( -d qq{Alpha-$testmod}, "compact top-level directory exists" ); - ok( chdir "Alpha-$testmod", "cd Alpha-$testmod" ); - ok( -d, "directory $_ exists" ) for ( qw/lib scripts t/); - ok( -f, "file $_ exists" ) - for ( qw/Changes LICENSE Makefile.PL MANIFEST README Todo/); - ok( -f, "file $_ exists" ) - for ( "lib/Alpha/${testmod}.pm", "t/001_load.t" ); - - my $filetext = read_file_string("lib/Alpha/${testmod}.pm"); - my $newstr = <<'ENDNEW'; -sub new { - my $class = shift; - my $self = bless ({}, $class); - return $self; -} -ENDNEW - - ok( (index($filetext, $newstr)) > -1, - "string present in file as predicted"); - - unlink( "$eumm_dir/$alt" ) - or croak "Unable to unlink $alt for testing: $!"; - ok(! -f "$eumm_dir/$alt", "file $alt deleted after testing"); - - # end of real tests - - } # end of Set - - ok(chdir $odir, "changed back to original directory"); - -} # end SKIP block - -END { - _subclass_cleanup_tests( { - persref => $persref, - pers_def_ref => $pers_def_ref, - eumm_dir => $eumm_dir, - initial_els_ref => \%els1, - odir => $odir, - mmkr_dir_ref => $mmkr_dir_ref, - } ); -} - - diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/201.t libextutils-modulemaker-perl-0.56/t/failsafe/201.t --- libextutils-modulemaker-perl-0.55/t/failsafe/201.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/201.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/201.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/202.t libextutils-modulemaker-perl-0.56/t/failsafe/202.t --- libextutils-modulemaker-perl-0.55/t/failsafe/202.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/202.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/202.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/203.t libextutils-modulemaker-perl-0.56/t/failsafe/203.t --- libextutils-modulemaker-perl-0.55/t/failsafe/203.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/203.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/203.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/204.t libextutils-modulemaker-perl-0.56/t/failsafe/204.t --- libextutils-modulemaker-perl-0.55/t/failsafe/204.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/204.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/204.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/205.t libextutils-modulemaker-perl-0.56/t/failsafe/205.t --- libextutils-modulemaker-perl-0.55/t/failsafe/205.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/205.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/205.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/206.t libextutils-modulemaker-perl-0.56/t/failsafe/206.t --- libextutils-modulemaker-perl-0.55/t/failsafe/206.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/206.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/206.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/207.t libextutils-modulemaker-perl-0.56/t/failsafe/207.t --- libextutils-modulemaker-perl-0.55/t/failsafe/207.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/207.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/207.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/208.t libextutils-modulemaker-perl-0.56/t/failsafe/208.t --- libextutils-modulemaker-perl-0.55/t/failsafe/208.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/208.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/208.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/209.t libextutils-modulemaker-perl-0.56/t/failsafe/209.t --- libextutils-modulemaker-perl-0.55/t/failsafe/209.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/209.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/209.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/210.t libextutils-modulemaker-perl-0.56/t/failsafe/210.t --- libextutils-modulemaker-perl-0.55/t/failsafe/210.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/210.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/210.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/failsafe/211.t libextutils-modulemaker-perl-0.56/t/failsafe/211.t --- libextutils-modulemaker-perl-0.55/t/failsafe/211.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/failsafe/211.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/failsafe/211.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 13; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/license/apache_1_1.t libextutils-modulemaker-perl-0.56/t/license/apache_1_1.t --- libextutils-modulemaker-perl-0.55/t/license/apache_1_1.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/apache_1_1.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/apache_1_1.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/apache.t libextutils-modulemaker-perl-0.56/t/license/apache.t --- libextutils-modulemaker-perl-0.55/t/license/apache.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/apache.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/apache.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/artistic_agg.t libextutils-modulemaker-perl-0.56/t/license/artistic_agg.t --- libextutils-modulemaker-perl-0.55/t/license/artistic_agg.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/artistic_agg.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/artistic_agg.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/artistic.t libextutils-modulemaker-perl-0.56/t/license/artistic.t --- libextutils-modulemaker-perl-0.55/t/license/artistic.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/artistic.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/artistic.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/bsd.t libextutils-modulemaker-perl-0.56/t/license/bsd.t --- libextutils-modulemaker-perl-0.55/t/license/bsd.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/bsd.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/bsd.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/gpl_2.t libextutils-modulemaker-perl-0.56/t/license/gpl_2.t --- libextutils-modulemaker-perl-0.55/t/license/gpl_2.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/gpl_2.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/gpl_2.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/gpl.t libextutils-modulemaker-perl-0.56/t/license/gpl.t --- libextutils-modulemaker-perl-0.55/t/license/gpl.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/gpl.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/gpl.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/ibm_1_0.t libextutils-modulemaker-perl-0.56/t/license/ibm_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/ibm_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/ibm_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/ibm_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/ibm.t libextutils-modulemaker-perl-0.56/t/license/ibm.t --- libextutils-modulemaker-perl-0.55/t/license/ibm.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/ibm.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/ibm.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/intel.t libextutils-modulemaker-perl-0.56/t/license/intel.t --- libextutils-modulemaker-perl-0.55/t/license/intel.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/intel.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/intel.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/jabber_1_0.t libextutils-modulemaker-perl-0.56/t/license/jabber_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/jabber_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/jabber_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/jabber_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/jabber.t libextutils-modulemaker-perl-0.56/t/license/jabber.t --- libextutils-modulemaker-perl-0.55/t/license/jabber.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/jabber.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/jabber.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/lgpl_2_1.t libextutils-modulemaker-perl-0.56/t/license/lgpl_2_1.t --- libextutils-modulemaker-perl-0.55/t/license/lgpl_2_1.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/lgpl_2_1.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/lgpl_2_1.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/lgpl.t libextutils-modulemaker-perl-0.56/t/license/lgpl.t --- libextutils-modulemaker-perl-0.55/t/license/lgpl.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/lgpl.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/lgpl.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/libpng.t libextutils-modulemaker-perl-0.56/t/license/libpng.t --- libextutils-modulemaker-perl-0.55/t/license/libpng.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/libpng.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/libpng.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/looselips.t libextutils-modulemaker-perl-0.56/t/license/looselips.t --- libextutils-modulemaker-perl-0.55/t/license/looselips.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/looselips.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/looselips.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 33; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mitre.t libextutils-modulemaker-perl-0.56/t/license/mitre.t --- libextutils-modulemaker-perl-0.55/t/license/mitre.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mitre.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mitre.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mit.t libextutils-modulemaker-perl-0.56/t/license/mit.t --- libextutils-modulemaker-perl-0.55/t/license/mit.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mit.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mit.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mozilla_1_0.t libextutils-modulemaker-perl-0.56/t/license/mozilla_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/mozilla_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mozilla_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mozilla_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mozilla_1_1.t libextutils-modulemaker-perl-0.56/t/license/mozilla_1_1.t --- libextutils-modulemaker-perl-0.55/t/license/mozilla_1_1.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mozilla_1_1.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mozilla_1_1.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mozilla.t libextutils-modulemaker-perl-0.56/t/license/mozilla.t --- libextutils-modulemaker-perl-0.55/t/license/mozilla.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mozilla.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mozilla.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mpl_1_0.t libextutils-modulemaker-perl-0.56/t/license/mpl_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/mpl_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mpl_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mpl_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mpl_1_1.t libextutils-modulemaker-perl-0.56/t/license/mpl_1_1.t --- libextutils-modulemaker-perl-0.55/t/license/mpl_1_1.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mpl_1_1.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mpl_1_1.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/mpl.t libextutils-modulemaker-perl-0.56/t/license/mpl.t --- libextutils-modulemaker-perl-0.55/t/license/mpl.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/mpl.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/mpl.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/nethack.t libextutils-modulemaker-perl-0.56/t/license/nethack.t --- libextutils-modulemaker-perl-0.55/t/license/nethack.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/nethack.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/nethack.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/nokia_1_0a.t libextutils-modulemaker-perl-0.56/t/license/nokia_1_0a.t --- libextutils-modulemaker-perl-0.55/t/license/nokia_1_0a.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/nokia_1_0a.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/nokia_1_0a.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/nokia.t libextutils-modulemaker-perl-0.56/t/license/nokia.t --- libextutils-modulemaker-perl-0.55/t/license/nokia.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/nokia.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/nokia.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/nokos_1_0a.t libextutils-modulemaker-perl-0.56/t/license/nokos_1_0a.t --- libextutils-modulemaker-perl-0.55/t/license/nokos_1_0a.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/nokos_1_0a.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/nokos_1_0a.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/nokos.t libextutils-modulemaker-perl-0.56/t/license/nokos.t --- libextutils-modulemaker-perl-0.55/t/license/nokos.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/nokos.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/nokos.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/perl.t libextutils-modulemaker-perl-0.56/t/license/perl.t --- libextutils-modulemaker-perl-0.55/t/license/perl.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/perl.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/perl.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/python.t libextutils-modulemaker-perl-0.56/t/license/python.t --- libextutils-modulemaker-perl-0.55/t/license/python.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/python.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/python.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/q_1_0.t libextutils-modulemaker-perl-0.56/t/license/q_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/q_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/q_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/q_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/q.t libextutils-modulemaker-perl-0.56/t/license/q.t --- libextutils-modulemaker-perl-0.55/t/license/q.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/q.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/q.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/r_bsd.t libextutils-modulemaker-perl-0.56/t/license/r_bsd.t --- libextutils-modulemaker-perl-0.55/t/license/r_bsd.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/r_bsd.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/r_bsd.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/ricoh_1_0.t libextutils-modulemaker-perl-0.56/t/license/ricoh_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/ricoh_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/ricoh_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/ricoh_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/ricoh.t libextutils-modulemaker-perl-0.56/t/license/ricoh.t --- libextutils-modulemaker-perl-0.55/t/license/ricoh.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/ricoh.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/ricoh.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/sissl.t libextutils-modulemaker-perl-0.56/t/license/sissl.t --- libextutils-modulemaker-perl-0.55/t/license/sissl.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/sissl.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/sissl.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/sleepycat.t libextutils-modulemaker-perl-0.56/t/license/sleepycat.t --- libextutils-modulemaker-perl-0.55/t/license/sleepycat.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/sleepycat.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/sleepycat.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/sun.t libextutils-modulemaker-perl-0.56/t/license/sun.t --- libextutils-modulemaker-perl-0.55/t/license/sun.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/sun.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/sun.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/vovida_1_0.t libextutils-modulemaker-perl-0.56/t/license/vovida_1_0.t --- libextutils-modulemaker-perl-0.55/t/license/vovida_1_0.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/vovida_1_0.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/vovida_1_0.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/vovida.t libextutils-modulemaker-perl-0.56/t/license/vovida.t --- libextutils-modulemaker-perl-0.55/t/license/vovida.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/vovida.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/vovida.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/license/zlib.t libextutils-modulemaker-perl-0.56/t/license/zlib.t --- libextutils-modulemaker-perl-0.55/t/license/zlib.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/license/zlib.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,6 +1,6 @@ # t/license/zlib.t use strict; -local $^W = 1; +use warnings; use Test::More tests => 17; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Licenses::Local' ); diff -Nru libextutils-modulemaker-perl-0.55/t/makedefaults/1201.t libextutils-modulemaker-perl-0.56/t/makedefaults/1201.t --- libextutils-modulemaker-perl-0.55/t/makedefaults/1201.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/makedefaults/1201.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/makedefaults/1201.t # tests of options to make modulemaker selections default personal values use strict; -local $^W = 1; +use warnings; use Test::More tests => 38; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/makedefaults/1202.t libextutils-modulemaker-perl-0.56/t/makedefaults/1202.t --- libextutils-modulemaker-perl-0.55/t/makedefaults/1202.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/makedefaults/1202.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/makedefaults/1202.t # tests of options to make modulemaker selections default personal values use strict; -local $^W = 1; +use warnings; use Test::More tests => 38; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/makedefaults/1203.t libextutils-modulemaker-perl-0.56/t/makedefaults/1203.t --- libextutils-modulemaker-perl-0.55/t/makedefaults/1203.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/makedefaults/1203.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,103 +0,0 @@ -# t/makedefaults/1203.t -# tests of options to make modulemaker selections default personal values -use strict; -local $^W = 1; -use Test::More tests => 37; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (37 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # same test as 12-2, only using modulemaker utility in - # non-interactive mode to set Testing::Defaults as temporary - # Personal::Defaults - # PROBLEM: This will not work because setting the -t option for - # Testing::Defaults supersedes all other arguments to modulemaker - # Additional problem: modulemaker both constructs and builds, but it - # does not return an object on which I can call - # make_selections_defaults(). Can I get around this by incorporating - # that method into complete_build() -- so far so good -- and by - # defining a modulemaker option therefor? Okay, but then I cannot - # have the -t option wiping out everything else due to the positioning - # of the processing of $self->{TESTING_DEFAULTS_FILE} inside - # EU::MM::new(). - - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Isn EU::MM::Testing::Defaults -a "Module abstract (<= 44 characters) goes here" -u "Hilton Stallone" -p RAMBO -o "Parliamentary Pictures" -w http://parliamentarypictures.com -e hiltons\@parliamentarypictures.com }), - "able to call modulemaker utility with save defaults option on"); - - $topdir = "EU/MM/Testing/Defaults"; - ok(-d $topdir, "by default, non-compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - q{EU::MM::Testing::Defaults}, - qq{lib\/EU\/MM\/Testing\/Defaults\.pm}, - qq{Hilton\\sStallone}, - qq{hiltons\@parliamentarypictures\.com}, - qq{Module\\sabstract\\s\\(<=\\s44\\scharacters\\)\\sgoes\\shere}, - ); - - check_MakefilePL($topdir, \@pred); - - ok(-f "$statusref->{mmkr_dir}/$statusref->{pers_file}", - "new Personal::Defaults installed"); - - my $obj2 = ExtUtils::ModuleMaker->new( - NAME => q{Ackus::Frackus}, - AUTHOR => q{Marilyn Shmarilyn}, - EMAIL => q{marilyns@nineteenthcenturyfox.com}, - COMPACT => 1, - ); - isa_ok( $obj2, 'ExtUtils::ModuleMaker' ); - - ok( $obj2->complete_build(), 'call complete_build()' ); - - $topdir = "Ackus-Frackus"; - ok(-d $topdir, "by choice, compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - q{Ackus::Frackus}, - qq{lib\/Ackus\/Frackus\.pm}, - qq{Marilyn\\sShmarilyn}, - qq{marilyns\@nineteenthcenturyfox\.com}, - qq{Module\\sabstract\\s\\(<=\\s44\\scharacters\\)\\sgoes\\shere}, - ); - - check_MakefilePL($topdir, \@pred); - - } - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/901.t libextutils-modulemaker-perl-0.56/t/miscargs/901.t --- libextutils-modulemaker-perl-0.55/t/miscargs/901.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/901.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/901.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 32; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/902.t libextutils-modulemaker-perl-0.56/t/miscargs/902.t --- libextutils-modulemaker-perl-0.55/t/miscargs/902.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/902.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/902.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 33; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/903.t libextutils-modulemaker-perl-0.56/t/miscargs/903.t --- libextutils-modulemaker-perl-0.55/t/miscargs/903.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/903.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/903.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 16; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/904.t libextutils-modulemaker-perl-0.56/t/miscargs/904.t --- libextutils-modulemaker-perl-0.55/t/miscargs/904.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/904.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/904.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 16; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/905.t libextutils-modulemaker-perl-0.56/t/miscargs/905.t --- libextutils-modulemaker-perl-0.55/t/miscargs/905.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/905.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/905.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 31; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/906.t libextutils-modulemaker-perl-0.56/t/miscargs/906.t --- libextutils-modulemaker-perl-0.55/t/miscargs/906.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/906.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/906.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 31; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/907.t libextutils-modulemaker-perl-0.56/t/miscargs/907.t --- libextutils-modulemaker-perl-0.55/t/miscargs/907.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/907.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/907.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 31; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/908.t libextutils-modulemaker-perl-0.56/t/miscargs/908.t --- libextutils-modulemaker-perl-0.55/t/miscargs/908.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/908.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/908.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 37; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/909.t libextutils-modulemaker-perl-0.56/t/miscargs/909.t --- libextutils-modulemaker-perl-0.55/t/miscargs/909.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/909.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/909.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 30; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/910.t libextutils-modulemaker-perl-0.56/t/miscargs/910.t --- libextutils-modulemaker-perl-0.55/t/miscargs/910.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/910.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/910.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 39; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/911.t libextutils-modulemaker-perl-0.56/t/miscargs/911.t --- libextutils-modulemaker-perl-0.55/t/miscargs/911.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/911.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/911.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 37; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/912.t libextutils-modulemaker-perl-0.56/t/miscargs/912.t --- libextutils-modulemaker-perl-0.55/t/miscargs/912.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/912.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/912.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 39; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/913.t libextutils-modulemaker-perl-0.56/t/miscargs/913.t --- libextutils-modulemaker-perl-0.55/t/miscargs/913.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/913.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/913.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 30; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/914.t libextutils-modulemaker-perl-0.56/t/miscargs/914.t --- libextutils-modulemaker-perl-0.55/t/miscargs/914.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/914.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/914.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 29; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/915.t libextutils-modulemaker-perl-0.56/t/miscargs/915.t --- libextutils-modulemaker-perl-0.55/t/miscargs/915.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/915.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/915.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 31; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/916.t libextutils-modulemaker-perl-0.56/t/miscargs/916.t --- libextutils-modulemaker-perl-0.55/t/miscargs/916.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/916.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/916.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 29; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/917.t libextutils-modulemaker-perl-0.56/t/miscargs/917.t --- libextutils-modulemaker-perl-0.55/t/miscargs/917.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/917.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/917.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 29; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/918.t libextutils-modulemaker-perl-0.56/t/miscargs/918.t --- libextutils-modulemaker-perl-0.55/t/miscargs/918.t 2014-07-04 22:20:46.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/918.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/918.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 41; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/919.t libextutils-modulemaker-perl-0.56/t/miscargs/919.t --- libextutils-modulemaker-perl-0.55/t/miscargs/919.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/919.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/919.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; # use Test::More tests => 32; use Test::More qw(no_plan); use_ok( 'ExtUtils::ModuleMaker' ); diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/920.t libextutils-modulemaker-perl-0.56/t/miscargs/920.t --- libextutils-modulemaker-perl-0.55/t/miscargs/920.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/920.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/920.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; # use Test::More tests => 32; use Test::More qw(no_plan); use_ok( 'ExtUtils::ModuleMaker' ); diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/921.t libextutils-modulemaker-perl-0.56/t/miscargs/921.t --- libextutils-modulemaker-perl-0.55/t/miscargs/921.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/921.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/921.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; # use Test::More tests => 32; use Test::More qw(no_plan); use_ok( 'ExtUtils::ModuleMaker' ); diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/922.t libextutils-modulemaker-perl-0.56/t/miscargs/922.t --- libextutils-modulemaker-perl-0.55/t/miscargs/922.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/922.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/922.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 30; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/miscargs/923.t libextutils-modulemaker-perl-0.56/t/miscargs/923.t --- libextutils-modulemaker-perl-0.55/t/miscargs/923.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/miscargs/923.t 2016-01-16 01:04:06.000000000 +0000 @@ -1,7 +1,7 @@ # t/miscargs/923.t # tests of miscellaneous arguments passed to constructor use strict; -local $^W = 1; +use warnings; use Test::More tests => 30; use_ok( 'ExtUtils::ModuleMaker' ); use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/801.t libextutils-modulemaker-perl-0.56/t/mmkr/801.t --- libextutils-modulemaker-perl-0.55/t/mmkr/801.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/801.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -# t/mmkr/801.t -use strict; -local $^W = 1; -use Test::More tests => 24; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (24 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # test against Testing::Defaults - - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -In EU::MM::Testing::Defaults -a "Module abstract (<= 44 characters) goes here" -u "Hilton Stallone" -p RAMBO -o "Parliamentary Pictures" -w http://parliamentarypictures.com -e hiltons\@parliamentarypictures.com }), - "able to call modulemaker utility"); - - $topdir = "EU/MM/Testing/Defaults"; - ok(-d $topdir, "by default, non-compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - "EU::MM::Testing::Defaults", - "lib\/EU\/MM\/Testing\/Defaults\.pm", - "Hilton\\sStallone", - "hiltons\@parliamentarypictures\.com", - "Module\\sabstract\\s\\(<=\\s44\\scharacters\\)\\sgoes\\shere", - ); - - check_MakefilePL($topdir, \@pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/802.t libextutils-modulemaker-perl-0.56/t/mmkr/802.t --- libextutils-modulemaker-perl-0.55/t/mmkr/802.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/802.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ -# t/mmkr/802.t -use strict; -local $^W = 1; -use Test::More tests => 24; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (24 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # suppress Personal::Defaults for duration of test - # do not provide -t option - # hence, you are testing against EU::MM::Defaults, which means you - # must supply a NAME; you must also suppress interactive mode - - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -In My::Research::Module }), - "able to call modulemaker utility"); - - $topdir = "My/Research/Module"; - ok(-d $topdir, "by default, non-compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - "My::Research::Module", - "lib\/My\/Research\/Module\.pm", - "A\.\\sU\.\\sThor", - "a\.u\.thor\@a\.galaxy\.far\.far\.away", - "Module\\sabstract\\s\\(<=\\s44\\scharacters\\)\\sgoes\\shere", - ); - - check_MakefilePL($topdir, \@pred); - } - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/803.t libextutils-modulemaker-perl-0.56/t/mmkr/803.t --- libextutils-modulemaker-perl-0.55/t/mmkr/803.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/803.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -# t/mmkr/803.t -use strict; -local $^W = 1; -use Test::More tests => 24; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (24 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # provide name and call for compact top-level directory - # add in abstract - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Icn XYZ::ABC -a \"This is very abstract.\"}), #" - "able to call modulemaker utility with abstract"); - - $topdir = "XYZ-ABC"; - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - "XYZ::ABC", - "lib\/XYZ\/ABC\.pm", - "A\.\\sU\.\\sThor", - "a\.u\.thor\@a\.galaxy\.far\.far\.away", - "This\\sis\\svery\\sabstract\.", - ); - check_MakefilePL($topdir, \@pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/804.t libextutils-modulemaker-perl-0.56/t/mmkr/804.t --- libextutils-modulemaker-perl-0.55/t/mmkr/804.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/804.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -# t/mmkr/804.t -use strict; -local $^W = 1; -use Test::More tests => 24; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (24 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # provide name and call for compact top-level directory - # add in abstract and author-name - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Icn XYZ::ABC -a \"This is very abstract.\" -u \"John Q Public\"}), #" - "able to call modulemaker utility with abstract"); - - $topdir = "XYZ-ABC"; - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - "XYZ::ABC", - "lib\/XYZ\/ABC\.pm", - "John\\sQ\\sPublic", - "a\.u\.thor\@a\.galaxy\.far\.far\.away", - "This\\sis\\svery\\sabstract\.", - ); - check_MakefilePL($topdir, \@pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/805.t libextutils-modulemaker-perl-0.56/t/mmkr/805.t --- libextutils-modulemaker-perl-0.55/t/mmkr/805.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/805.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -# t/mmkr/805.t -use strict; -local $^W = 1; -use Test::More tests => 24; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - check_MakefilePL - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (24 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $topdir, @pred); - - { - # provide name and call for compact top-level directory - # add in abstract and author-name and e-mail - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Icn XYZ::ABC -a \"This is very abstract.\" -u \"John Q Public\" -e jqpublic\@calamity.jane.net}), #" - "able to call modulemaker utility with abstract"); - - $topdir = "XYZ-ABC"; - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - - @pred = ( - "XYZ::ABC", - "lib\/XYZ\/ABC\.pm", - "John\\sQ\\sPublic", - "jqpublic\@calamity\.jane\.net", - "This\\sis\\svery\\sabstract\.", - ); - check_MakefilePL($topdir, \@pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/806.t libextutils-modulemaker-perl-0.56/t/mmkr/806.t --- libextutils-modulemaker-perl-0.55/t/mmkr/806.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/806.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -# t/mmkr/806.t -use strict; -local $^W = 1; -use Test::More tests => 26; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - make_compact - check_pm_file - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (26 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $module_name, $topdir, $pmfile, %pred); - - { - # provide name and call for compact top-level directory - # call option to omit POD from .pm file - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - $module_name = 'XYZ::ABC'; - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -IcPn "$module_name" }), - "able to call modulemaker utility"); - - ($topdir, $pmfile) = make_compact($module_name); - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - ok(-f $pmfile, "$pmfile created"); - - %pred = ( - 'pod_present' => 0, - ); - check_pm_file($pmfile, \%pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/807.t libextutils-modulemaker-perl-0.56/t/mmkr/807.t --- libextutils-modulemaker-perl-0.55/t/mmkr/807.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/807.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -# t/mmkr/807.t -use strict; -local $^W = 1; -use Test::More tests => 26; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - make_compact - check_pm_file - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (26 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $module_name, $topdir, $pmfile, %pred); - - { - # provide name and call for compact top-level directory - # call option to omit constructor (sub new()) from .pm file - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - $module_name = 'XYZ::ABC'; - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Icqn "$module_name" }), - "able to call modulemaker utility"); - - ($topdir, $pmfile) = make_compact($module_name); - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - ok(-f $pmfile, "$pmfile created"); - - %pred = ( - 'constructor_present' => 0, - ); - check_pm_file($pmfile, \%pred); - } - - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} - - diff -Nru libextutils-modulemaker-perl-0.55/t/mmkr/808.t libextutils-modulemaker-perl-0.56/t/mmkr/808.t --- libextutils-modulemaker-perl-0.55/t/mmkr/808.t 2014-07-04 21:19:40.000000000 +0000 +++ libextutils-modulemaker-perl-0.56/t/mmkr/808.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -# t/mmkr/806.t -use strict; -local $^W = 1; -use Test::More tests => 26; -use_ok( 'ExtUtils::ModuleMaker' ); -use_ok( 'ExtUtils::ModuleMaker::Auxiliary', qw( - _save_pretesting_status - _restore_pretesting_status - make_compact - read_file_string - ) -); - -my $statusref = _save_pretesting_status(); - -SKIP: { - eval { require 5.006_001 }; - skip "tests require File::Temp, core with 5.6", - (26 - 10) if $@; - use warnings; - use_ok( 'File::Temp', qw| tempdir |); - - # Simple tests of modulemaker utility in non-interactive mode - - my $cwd = $statusref->{cwd}; - my ($tdir, $module_name, $topdir, $pmfile, $filetext); - - { - # provide name and call for compact top-level directory - # call option to set VERSION to number other than 0.01 - $tdir = tempdir( CLEANUP => 1); - ok(chdir $tdir, 'changed to temp directory for testing'); - - $module_name = 'XYZ::ABC'; - ok(! system(qq{$^X -I"$cwd/blib/lib" "$cwd/blib/script/modulemaker" -Icqn "$module_name" -v 0.3 }), - "able to call modulemaker utility"); - - ($topdir, $pmfile) = make_compact($module_name); - ok(-d $topdir, "compact top directory created"); - ok(-f "$topdir/$_", "$_ file created") - for qw| Changes LICENSE MANIFEST Makefile.PL README Todo |; - ok(-d "$topdir/$_", "$_ directory created") - for qw| lib t |; - ok(-f $pmfile, "$pmfile created"); - - ok($filetext = read_file_string($pmfile), - "Able to read $pmfile"); - like($filetext, qr/\$VERSION\s+=\s+'0\.3'/, - "VERSION number is correct and properly quoted"); - } - - ok(chdir $statusref->{cwd}, - "changed back to original directory"); -} # end SKIP block - -END { - _restore_pretesting_status($statusref); -} -