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 ( #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 (Hermit) 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? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-10-07 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (29 votes). Check out past polls.

    Notices?