4 use warnings FATAL => 'all';
6 use Test::More tests => 2;
9 use t::common qw( new_fh );
11 use_ok( 'DBM::Deep' );
14 my ($fh, $filename) = t::common::new_fh();
15 my $db = DBM::Deep->new(
20 # Add a self-referencing connection to test export
24 array1 => [ "elem0", "elem1", "elem2", { foo => 'bar' }, [ 5 ], bless( [], 'Apple' ) ],
26 subkey1 => "subvalue1",
27 subkey2 => "subvalue2",
32 sub_obj3 => bless([],'Foo'),
37 $db->{foo} = \%struct;
39 my $x = delete $db->{foo};
46 array1 => [ "elem0", "elem1", "elem2", { foo => 'bar' }, [ 5 ], bless( [], 'Apple' ) ],
48 subkey1 => "subvalue1",
49 subkey2 => "subvalue2",
54 sub_obj3 => bless([],'Foo'),