5 use Test::More tests => 2;
6 use t::common qw( new_fh );
10 my ($fh, $filename) = new_fh();
11 my $db = DBM::Deep->new(
13 type => DBM::Deep->TYPE_ARRAY,
21 for ( 0 .. $max_keys ) {
22 $db->put( $_ => $_ * 2 );
26 for ( 0 .. $max_keys ) {
28 unless ( $db->get( $_ ) == $_ * 2 ) {
32 is( $count, $max_keys, "We read $count keys" );