lskatz has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks!
I was wondering how to continue building a BerkeleyDB. I am building a BerkeleyDB but it keeps getting interrupted! When I start the script again it truncates the file. How can I put in a "continue" flag?
My initial code is the following:And then I begin adding onto the hash again.tie(%uniprot_h, "BerkeleyDB::Hash", -Filename => $dbfile, -Flags => DB +_CREATE, -Property => DB_DUP) or die "Cannot open file $dbfile: $! $BerkeleyDB::Error\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: BerkeleyDB continue
by Anonymous Monk on Jul 15, 2011 at 07:31 UTC | |
by lskatz (Novice) on Jul 15, 2011 at 12:36 UTC | |
by Anonymous Monk on Jul 15, 2011 at 12:43 UTC | |
Re: BerkeleyDB continue
by flexvault (Monsignor) on Jul 15, 2011 at 13:16 UTC |
Back to
Seekers of Perl Wisdom