6 # Test for interference from -l on the commandline.
9 use Test::More tests => 4;
11 use t::common qw( new_fh );
13 use_ok( 'DBM::Deep' );
15 my ($fh, $filename) = new_fh();
16 my $db = DBM::Deep->new( $filename );
21 $db->{key1} = "value1";
22 is( $db->get("key1"), "value1", "get() works with hash assignment" );
23 is( $db->fetch("key1"), "value1", "... fetch() works with hash assignment" );
24 is( $db->{key1}, "value1", "... and hash-access also works" );