If you are using Mojolicious (not sure if you can do this with CGI) you can store the DB connection and reuse it.
In reply to Re: Best practices for closing database connections?
by bliako
in thread Best practices for closing database connections?
by Polyglot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |