Hi there, I'm trying to manipulate an EXISTING BerkeleyDB3.2.9 database.
Everything is working fine if I implement: unlink $filename and insert some keys,value pairs. If I unlink the filename there are no key,value pairs available any more which existed before, is this normal? My problem is, that I need to manipulate the content of teh database which exists, not one I need to generate before. Any hints for that? Here is the code: #!/usr/bin/perl -wT use strict; use Fcntl; use BerkeleyDB; my $filename = "/root/doms.db"; my $dbvar = tie %domain, 'BerkeleyDB::Btree', -Filename => $filename, -Flags => DB_CREATE, -Mode => 0664 or die "Cannot open $filename: $!\n"; foreach (keys %domain) { print "$_\n"; } $dbvar->db_del("any_entry_which_exists_in_databse"); foreach (keys %domain) { print "$_\n"; } --->> the second output is exactly as the first Thank you for your help, best regs Peter Barth -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]