> If i run this code from command line or under mod_cgi, it work fine.
> But if it run repeatedly under mod_perl, it occasionally give me a
> "database access timeout" message (see code above), but error value $!
> still empty.
What return value are you getting from tie?
Incidentally, since thi
Dmitry E. Dmitriev wrote:
> Hi ALL!
>
> Should i still lock my dbm files accessed from cgi under mod_perl if i
> need only read from them? Not my program nor any others never will write
> to
> this files.
Nope, you don't have to. In any case the used lock (flock) is usually
advisory, which m
Hi ALL!
Should i still lock my dbm files accessed from cgi under mod_perl if i
need only read from them? Not my program nor any others never will write
to
this files.
I have a problem with code:
use DB_File;
use strict;
my %fields;
my $fieldsdb='/path/to/db_file';
some code there