r14402@Rob-Kinyons-PowerBook (orig r6525): rkinyon | 2006-06-19 09:05:12 -0400
[dbsrgits/DBM-Deep.git] / t / 39_singletons.t
CommitLineData
74de6d5b 1use strict;
2use Test::More tests => 2;
3
4use_ok( 'DBM::Deep' );
5
6unlink 't/test.db';
7my $db = DBM::Deep->new(
8 file => "t/test.db",
9 locking => 1,
10 autoflush => 1,
11);
12
13$db->{foo} = { a => 'b' };
14my $x = $db->{foo};
15my $y = $db->{foo};
16is( $x, $y, "The references are the same" );
17
18