Re: dbmopen problem - solved

2003-12-11 Thread Joel Newkirk
On Thu, 2003-12-11 at 14:06, drieux wrote: > On Dec 10, 2003, at 11:34 PM, Joel Newkirk wrote: > [..] > > I found my problem - apparently webmin was doing "use GDBM_File;" for > > me, which is why it worked in the webmin module, and since I wasn't > > including either that or the webmin "web-lib.pl

Re: dbmopen problem - solved

2003-12-11 Thread drieux
On Dec 10, 2003, at 11:34 PM, Joel Newkirk wrote: [..] I found my problem - apparently webmin was doing "use GDBM_File;" for me, which is why it worked in the webmin module, and since I wasn't including either that or the webmin "web-lib.pl" it was defaulting to a different DB format, hence the "Fi

Re: dbmopen problem

2003-12-11 Thread Joel Newkirk
On Wed, 2003-12-10 at 22:11, drieux wrote: > 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: > >

Re: dbmopen problem

2003-12-11 Thread Joel Newkirk
On Wed, 2003-12-10 at 22:07, Owen wrote: > 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

Re: dbmopen problem - solved

2003-12-11 Thread Joel Newkirk
On Wed, 2003-12-10 at 20:58, Joel Newkirk wrote: > On Mon, 2003-12-08 at 01:06, Joel Newkirk wrote: > > Now I'm working on a console command to offer the same functionality > > (only needing to read the rules, not write) using the same dbm. I've > > used precisely the same subroutine as in the w

Re: dbmopen problem

2003-12-10 Thread Robert Brown
Joel Newkirk writes: > Well, I guess I'll reply since nobody else has... Problem is I still > have no clue what's wrong here... :^) > > Surely somebody here can offer a hint? Please? :^) > > j I experienced a very similar problem last week. In fact, it was the reason I joined this mail

Re: dbmopen problem

2003-12-10 Thread drieux
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' with

Re: dbmopen problem

2003-12-10 Thread Owen
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.d

Re: dbmopen problem

2003-12-10 Thread Joel Newkirk
Well, I guess I'll reply since nobody else has... Problem is I still have no clue what's wrong here... :^) Surely somebody here can offer a hint? Please? :^) j On Mon, 2003-12-08 at 01:06, Joel Newkirk wrote: > I've run into a problem. I have been working on a webmin module that, > among oth

dbmopen problem

2003-12-07 Thread Joel Newkirk
I've run into a problem. I have been working on a webmin module that, among other things, maintains a dbm file of regular expressions. One subroutine is passed a string, and if any of the regular expressions matches, it returns the associated explanation text. I can read and write this dbm with n