good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Best practices for closing database connections?by bliako (Monsignor) |
on Mar 17, 2022 at 14:43 UTC ( [id://11142182]=note: print w/replies, xml ) | Need Help?? |
If you are using Mojolicious (not sure if you can do this with CGI) you can store the DB connection and reuse it.
In Section
Seekers of Perl Wisdom
|
|