search for: dbmclose

Displaying 1 result from an estimated 1 matches for "dbmclose".

Did you mean: db_close
2006 Feb 13
0
Perl DBM problem...
...GV[0] eq "") { print "\n * * give me a DBM file name to dump (no DBM extension) * *\n"; exit; } dbmopen (%dumpfile, $ARGV[0], 0400) || die "Can't open DB file!" ; foreach $line (sort keys %dumpfile) { print <<END1; $line - $dumpfile{$line} END1 } dbmclose (%dumpfile); Running that against any of the BDB files on the old RH 7.3 system dumps the file's data successfully. Copy everything over to the CentOS system [root at willspc data]# file *.db applic.db: Berkeley DB (Hash, version 5, native byte-order) cables.db: Berkeley DB (Hash, vers...