summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2014-11-17 20:52:31 +0000
committerafresh1 <afresh1@openbsd.org>2014-11-17 20:52:31 +0000
commit6fb12b7054efc6b436584db6cef9c2f85c0d7e27 (patch)
treeaa09a524574ec7ae2f521a24573deeecb78ff66a /gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm
parentAdd the Cammelia cipher to libcrypto. (diff)
downloadwireguard-openbsd-6fb12b7054efc6b436584db6cef9c2f85c0d7e27.tar.xz
wireguard-openbsd-6fb12b7054efc6b436584db6cef9c2f85c0d7e27.zip
Import perl-5.20.1
Diffstat (limited to 'gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm')
-rw-r--r--gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm b/gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm
index 9fbd6d0c8ca..2353120e99d 100644
--- a/gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm
+++ b/gnu/usr.bin/perl/cpan/Module-Metadata/t/lib/DistGen.pm
@@ -1,6 +1,7 @@
package DistGen;
use strict;
+use warnings;
use vars qw( $VERSION $VERBOSE @EXPORT_OK);
@@ -182,6 +183,7 @@ sub _gen_default_filedata {
\$VERSION = '0.01';
use strict;
+ use warnings;
1;
@@ -205,6 +207,7 @@ sub _gen_default_filedata {
$self->$add_unless('t/basic.t', undent(<<" ---"));
use Test::More tests => 1;
use strict;
+ use warnings;
use $self->{name};
ok 1;
@@ -470,6 +473,7 @@ sub change_build_pl {
$self->change_file( 'Build.PL', undent(<<" ---") );
use strict;
+ use warnings;
use Module::Build;
my \$b = Module::Build->new(
# Some CPANPLUS::Dist::Build versions need to allow mismatches