http://qs321.pair.com?node_id=11142182


in reply to Best practices for closing database connections?

If you are using Mojolicious (not sure if you can do this with CGI) you can store the DB connection and reuse it.