diff options
Diffstat (limited to 'ext/NDBM_File/t/ndbm.t')
-rw-r--r-- | ext/NDBM_File/t/ndbm.t | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/NDBM_File/t/ndbm.t b/ext/NDBM_File/t/ndbm.t index 8956676491..87661d8414 100644 --- a/ext/NDBM_File/t/ndbm.t +++ b/ext/NDBM_File/t/ndbm.t @@ -142,9 +142,6 @@ unlink <Op.dbmx*>, $Dfile; package Another ; - use strict ; - use warnings ; - open(FILE, ">SubDB.pm") or die "Cannot open SubDB.pm: $!\n" ; print FILE <<'EOM' ; @@ -213,8 +210,6 @@ EOM { # DBM Filter tests - use strict ; - use warnings ; my (%h, $db) ; my ($fetch_key, $store_key, $fetch_value, $store_value) = ("") x 4 ; @@ -320,8 +315,6 @@ EOM { # DBM Filter with a closure - use strict ; - use warnings ; my (%h, $db) ; unlink <Op.dbmx*>; @@ -383,8 +376,6 @@ EOM { # DBM Filter recursion detection - use strict ; - use warnings ; my (%h, $db) ; unlink <Op.dbmx*>; @@ -405,9 +396,6 @@ EOM # # test that $hash{KEY} = undef doesn't produce the warning # Use of uninitialized value in null operation - use warnings ; - use strict ; - use NDBM_File ; unlink <Op.dbmx*>; my %h ; @@ -424,10 +412,6 @@ EOM # modified key doesn't get passed to NEXTKEY. # Also Test "keys" & "values" while we are at it. - use warnings ; - use strict ; - use NDBM_File ; - unlink <Op.dbmx*>; my $bad_key = 0 ; my %h = () ; @@ -462,8 +446,6 @@ EOM { # Check that DBM Filter can cope with read-only $_ - use warnings ; - use strict ; my %h ; unlink <Op.dbmx*>; |