5 use Test::More tests => 5;
7 use t::common qw( new_fh );
11 my ($fh, $filename) = new_fh();
12 my $db = DBM::Deep->new(
20 } "Can call unlock on an unlocked DB.";
25 $db->{key1} = "value1";
26 is( $db->{key1}, "value1", "key1 is set" );
28 $db->{key2} = [ 1 .. 3 ];
29 is( $db->{key2}[1], 2 );
35 $db->{key1} = "value2";
37 is( $db->{key1}, "value2", "key1 is overridden" );