develooper Front page | perl.qpsmtpd | Postings from January 2010

share DB Connection

Thread Next
From:
Stefan Priebe
Date:
January 11, 2010 04:26
Subject:
share DB Connection
Message ID:
4B4B18D4.4020305@prie.be
Hi!

I would like to do the auth and rcpt_ok via MySQL. Is there a good way
to share the DB Connection? Or do i have to connect to MySQL for each
query? If there is a way - where to store the dbh Handle - so that all
childs can use it?

Stefan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About