package Another ;
- use strict ;
- use warnings ;
-
open(FILE, ">SubDB.pm") or die "Cannot open SubDB.pm: $!\n" ;
print FILE <<'EOM' ;
{
# DBM Filter tests
- use strict ;
- use warnings ;
my (%h, $db) ;
my ($fetch_key, $store_key, $fetch_value, $store_value) = ("") x 4 ;
{
# DBM Filter with a closure
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
{
# DBM Filter recursion detection
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
#
# test that $hash{KEY} = undef doesn't produce the warning
# Use of uninitialized value in null operation
- use warnings ;
- use strict ;
- use GDBM_File ;
unlink <Op.dbmx*>;
my %h ;
# modified key doesn't get passed to NEXTKEY.
# Also Test "keys" & "values" while we are at it.
- use warnings ;
- use strict ;
- use GDBM_File ;
-
unlink <Op.dbmx*>;
my $bad_key = 0 ;
my %h = () ;
{
# Check that DBM Filter can cope with read-only $_
- use warnings ;
- use strict ;
my %h ;
unlink <Op.dbmx*>;
package Another ;
- use strict ;
- use warnings ;
-
open(FILE, ">SubDB.pm") or die "Cannot open SubDB.pm: $!\n" ;
print FILE <<'EOM' ;
{
# DBM Filter tests
- use strict ;
- use warnings ;
my (%h, $db) ;
my ($fetch_key, $store_key, $fetch_value, $store_value) = ("") x 4 ;
{
# DBM Filter with a closure
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
{
# DBM Filter recursion detection
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
#
# 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 ;
# 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 = () ;
{
# Check that DBM Filter can cope with read-only $_
- use warnings ;
- use strict ;
my %h ;
unlink <Op.dbmx*>;
package Another ;
- use strict ;
- use warnings ;
-
open(FILE, ">SubDB.pm") or die "Cannot open SubDB.pm: $!\n" ;
print FILE <<'EOM' ;
{
# DBM Filter tests
- use strict ;
- use warnings ;
my (%h, $db) ;
my ($fetch_key, $store_key, $fetch_value, $store_value) = ("") x 4 ;
{
# DBM Filter with a closure
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
{
# DBM Filter recursion detection
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op.dbmx*>;
#
# test that $hash{KEY} = undef doesn't produce the warning
# Use of uninitialized value in null operation
- use warnings ;
- use strict ;
- use ODBM_File ;
unlink <Op.dbmx*>;
my %h ;
# modified key doesn't get passed to NEXTKEY.
# Also Test "keys" & "values" while we are at it.
- use warnings ;
- use strict ;
- use ODBM_File ;
-
unlink <Op.dbmx*>;
my $bad_key = 0 ;
my %h = () ;
{
# Check that DBM Filter can cope with read-only $_
- use warnings ;
- use strict ;
my %h ;
unlink <Op.dbmx*>;
package Another ;
- use strict ;
- use warnings ;
-
open(FILE, ">SubDB.pm") or die "Cannot open SubDB.pm: $!\n" ;
print FILE <<'EOM' ;
{
# DBM Filter tests
- use strict ;
- use warnings ;
my (%h, $db) ;
my ($fetch_key, $store_key, $fetch_value, $store_value) = ("") x 4 ;
{
# DBM Filter with a closure
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op_dbmx*>;
{
# DBM Filter recursion detection
- use strict ;
- use warnings ;
my (%h, $db) ;
unlink <Op_dbmx*>;
#
# test that $hash{KEY} = undef doesn't produce the warning
# Use of uninitialized value in null operation
- use warnings ;
- use strict ;
- use SDBM_File ;
unlink <Op_dbmx*>;
my %h ;
# modified key doesn't get passed to NEXTKEY.
# Also Test "keys" & "values" while we are at it.
- use warnings ;
- use strict ;
- use SDBM_File ;
-
unlink <Op_dbmx*>;
my $bad_key = 0 ;
my %h = () ;
{
# Check that DBM Filter can cope with read-only $_
- use warnings ;
- use strict ;
my %h ;
unlink <Op1_dbmx*>;