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 mailing list. I never did get a satisfactory answer, and I do not think anyone really understood my problem. Although I have learned a bunch of other good stuff from this list, I never solved my original problem. In my case, an old CGI script that had worked for a year (actually, a bunch of similar such CGI scripts) behaved as you describe. After I upgraded to Redhat 9 for security reasons, the upgrade to perl-5.8.0-88.3 that came along for the ride with rh9 caused this problem to occur. I sure would like a solution. > 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 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 no issues. > > > > 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 webmin version, but > > whenever I reach: > > dbmopen (%PLRULES, "/var/szs/rules.dbm", undef) or die $!; > > I die, with "No such file or directory". > > > > Absolute path, world-readable files owned by root, precisely the same > > statement in each, the webmin CGI version and the console version. The > > webmin CGI is NOT runnning when I try this from the console, and I'm > > root when trying. > > > > What am I doing wrong?? > > > > j > > > > -- > > "Not all those who wander are lost." - JRR Tolkien > -- > "Not all those who wander are lost." - JRR Tolkien > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>