Hello all.
I have a problem in writing mutlithread-safe application on mod_perl.
I have a file main.pm which is my object implementation:
package admin::main;
1;
package svntrac::admin;
use ..
..
print STDERR "I am require\n";
$Apache2::PerlSections::Save = 1;
$handlers::sv
Thanks, Frank, thanks, Damyan, for your answers.
I've add testing info to my script, as you recommend:
Editing: [2612]8068957.60529976$self current=0
Editing: [2613]8068957.60529976$self current=0
Editing: [2614]8068957.60529976$self current=0
Editing: [2614]8068957.60529976$self current=1
Editin
Hi all.
My project is built on Apache+mod_perl2 + PostgreSQL, so I use DBI::Pg
to connect to database and Apache::DBI for connection reuse. My DBI
connections are initialized at ChildInit phase. I examined Apache::DBI
sources and found that it creates one connection per dsn (am i right?)
b