Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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~

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found