in reply to Any_DBM_File blues.
Why are you using AnyDBM_File? I think you should just use DB_File itself if you want to use DB_File--in which case you should read the DB_File docs, and in which case you can just do something like this:
becauseuse DB_File; my %database; tie %database, 'DB_File', "bar" or die "Can't tie: $!";
is equivalent totie %database, 'DB_File', "bar"
Does this make sense?tie %database, 'DB_File', "bar", O_CREAT|O_RDWR, 0666, $DB_HASH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Any_DBM_File blues.
by skazat (Chaplain) on May 02, 2000 at 02:23 UTC | |
by btrott (Parson) on May 02, 2000 at 02:44 UTC | |
by skazat (Chaplain) on May 02, 2000 at 20:08 UTC | |
by athomason (Curate) on May 02, 2000 at 22:39 UTC |