in reply to DB Connection pool
Go to :
http://www.theperlreview.com/
and dload issue-01 and read :
Design patterns : Singeltons from brian d foy ...
i think this is exaclty what u want ...:")
hth
(in the past i wanted to do a similar CGI-thing and are blaming now that i did't know that)