From owner-freebsd-questions@FreeBSD.ORG Sat Mar 27 10:28:54 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E8D7106566B for ; Sat, 27 Mar 2010 10:28:54 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 16A308FC15 for ; Sat, 27 Mar 2010 10:28:53 +0000 (UTC) Received: from beta.local (ppp-88-217-6-23.dynamic.mnet-online.de [88.217.6.23]) by mail.locolomo.org (Postfix) with ESMTPSA id 145B01C0871 for ; Sat, 27 Mar 2010 11:28:51 +0100 (CET) Message-ID: <4BADDDE2.60608@locolomo.org> Date: Sat, 27 Mar 2010 11:28:50 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: OT: Programming perl, BerkeleyDB/MLDBM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 10:28:54 -0000 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