10 use_ok( 'DBM::Deep' );
13 my $db = DBM::Deep->new( "t/test.db" );
15 $db->{key1} = "value1";
16 is( $db->{key1}, "value1", "Value set correctly" );
18 # Testing to verify that the close() will occur if open is called on an open DB.
21 is( $db->{key1}, "value1", "Value still set after re-open" );
24 my $db = DBM::Deep->new( 't' );
25 } qr/^DBM::Deep: Cannot sysopen file: t: /, "Can't open a file we aren't allowed to touch";
28 my $db = DBM::Deep->new( __FILE__ );
29 } qr/^DBM::Deep: Signature not found -- file is not a Deep DB/, "Only DBM::Deep DB files will be opened";
32 my $db = DBM::Deep->new(
41 my $db = DBM::Deep->new(