skazat has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use AnyDBM_File; use strict; my %database; tie %database, 'AnyDBM_File', "bar", "0666","DB_HASH" or die "doh $!\n +"; $database{test} = "yo baby"; untie %database; tie %database, 'AnyDBM_File', "bar", "0666", "DB_HASH" or die "wtf?? $ +!\n"; print $database{test}; untie %database; print "success 2\n"; exit;
what i get back is this:
wtf?? Permission denied
whats going here? anyone care to explain? thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Any_DBM_File blues.
by btrott (Parson) on May 02, 2000 at 02:11 UTC | |
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 |