Name "BerkeleyDB::Term::Db" used only once
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libberkeleydb-perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libberkeleydb-perl
I recently upgraded to Ubuntu 8.10 from 8.04. Now, when I use the perl module BerkeleyDB I see a warning:
Name "BerkeleyDB:
This error is in the perl module included in the "libberkeleydb-
What can I do about it?
My perl code includes "use BerkeleyDB;" and ties a hash:
tie %{$hash}, 'BerkeleyDB:
The error is not in my code. This code worked fine under Hardy and Gutsy. The code still works fine, but I get the warning now. And I don't want to get the warning.
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
Hi. Though it is only a warning, it is quite annoying, I work it around changing this file:
/usr/ lib/perl5/ BerkeleyDB. pm
Around line 1054, change the line with _db_open_hash like this:
my $addr; hash($self, $got);
{
no warnings;
($addr) = _db_open_
}