On Mon, 08 Dec 2003 01:06:04 -0500
Joel Newkirk <[EMAIL PROTECTED]> wrote:
> dbmopen (%PLRULES, "/var/szs/rules.dbm", undef) or die $!;
> I die, with "No such file or directory".
No idea but;
I would tend to beleive the "No such file or directory" statement.
you can do an ls -la /var/szs/rules.dbm ?
I would have written the "or die $!;" as or die "Can't dbmopen $!\n"; but then maybe
you only have one die statement to worry about?
I have never seen "dbmopen (%PLRULES, "/var/szs/rules.dbm", undef)" normally I see
dbmopen (%PLRULES, "/var/szs/rules.dbm", 0666) or die.....
%PLRULES=();
The syntax for dbmopen is Arrayname DB_filename mode
so I just wonder if undef is a mode?
--
Owen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>