On Dec 10, 2003, at 5:58 PM, Joel Newkirk wrote: [..]
whenever I reach:
dbmopen (%PLRULES, "/var/szs/rules.dbm", undef) or die $!;
I die, with "No such file or directory".
[..]

are you sure about that dbmopen() line?

eg:

perldoc -f dbmopen

seems to suggest that DBNAME shoudl be
the 'name' without the Suffix,
        
        dbmopen (%PLRULES, "/var/szs/rules",0755) or die $!;

because i'm a bit concerned that your dmbopen is actually
trying to find the file "/var/szs/rules.dbm.dbm" - depending
upon the underlying OS it is on.

but you might want to actually cross over and
look at doing a 'tie' - cf

perldoc -f tie



ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to