in reply to Re: Re: multiple db connects
in thread multiple db connects

You can't "share a single connection among multiple scripts" if they all live in separate spaces, whether you're using Apache or not!

If you were talking about mod_perl's Apache::Registry "scripts" (really, handlers coded on the fly from script-like things), then you don't need to do any of this mess either. Just include Apache::DBI, and it autoshares for you!

-- Randal L. Schwartz, Perl hacker