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.

  • Comment on Re: Best practices for closing database connections?

Replies are listed 'Best First'.
Re^2: Best practices for closing database connections?
by Polyglot (Chaplain) on Mar 17, 2022 at 15:15 UTC

    Nope. I never have used Mojolicious. It might be a helpful remark for other readers/learners here, though, so thank you.

    Blessings,

    ~Polyglot~