ddalex has asked for the wisdom of the Perl Monks concerning the following question:
But when I try to run this , the script hangs withuse DB_File; $error=0; tie %h, "NDBM_File", $dbname, O_RDWR, 0640, $DB_HASH or $error=1; if ($error==1) { print "error opening database: $!\n"; exit(0); }
I'm using Perl 5.8.0 on an out-of-box RH 8.0.Can't locate object method "TIEHASH" via package "NDBM_File" at ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: NDBM_File
by PodMaster (Abbot) on Mar 14, 2003 at 13:52 UTC | |
by ddalex (Initiate) on Mar 14, 2003 at 13:56 UTC | |
by PodMaster (Abbot) on Mar 14, 2003 at 14:02 UTC |