2 use warnings FATAL => 'all';
7 use t::common qw( new_dbm );
11 my $dbm_factory = new_dbm();
12 while ( my $dbm_maker = $dbm_factory->() ) {
13 my $db = $dbm_maker->();
15 # Add a self-referencing connection to test export
19 array1 => [ "elem0", "elem1", "elem2", { foo => 'bar' }, [ 5 ], bless( [], 'Apple' ) ],
21 subkey1 => "subvalue1",
22 subkey2 => "subvalue2",
27 sub_obj3 => bless([],'Foo'),
32 $db->{foo} = \%struct;
34 my $x = delete $db->{foo};
41 array1 => [ "elem0", "elem1", "elem2", { foo => 'bar' }, [ 5 ], bless( [], 'Apple' ) ],
43 subkey1 => "subvalue1",
44 subkey2 => "subvalue2",
49 sub_obj3 => bless([],'Foo'),