5 use Test::More tests => 2;
10 my $db = DBM::Deep->new(
12 type => DBM::Deep->TYPE_HASH
15 die "ERROR: " . $db->error();
23 for ( 0 .. $max_keys ) {
24 $db->put( "hello $_" => "there " . $_ * 2 );
28 for ( 0 .. $max_keys ) {
30 unless ( $db->get( "hello $_" ) eq "there " . $_ * 2 ) {
34 is( $count, $max_keys, "We read $count keys" );