Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2010 11:28:50 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        questions@freebsd.org
Subject:   OT: Programming perl, BerkeleyDB/MLDBM
Message-ID:  <4BADDDE2.60608@locolomo.org>

next in thread | raw e-mail | index | archive | help
Hi:

I have been searching for the appropriate perl mailing list, but no 
avail. I'm trying to build a database with Berkeley DB and MLDBM for a 
multi dimensional hash structure,

my $hdbm = tie %host, 'MLDBM', -Filename => "$dbdir/host.db",
     -Flags => DB_CREATE|O_RDWR
     or die "Cannot open database '$dbdir/host.db: $!\n";

but I have some problems:

I can read entries and create new ones, but I can't update existing 
entries.

And I have a problem untieing cleanly:

untie attempted while 1 inner references still exist at 
bin/smtp_reject.pl line 175.
untie attempted while 1 inner references still exist at 
bin/smtp_reject.pl line 176.

Any hints? or which mailing list should I post to?

Thanks, Erik
-- 
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BADDDE2.60608>