in reply to Re^8: Best practices for closing database connections?
in thread Best practices for closing database connections?

From this code sample I infer that you aren't using strict. This combination of ignoring industry-wide best practice of using strict and placeholders seemed familiar and yes, it turns out that we've trodden this path before.

I'm out.


🦛

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

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

    You inferred incorrectly this time. The very first line of the file is this:

    use strict 'vars';

    Blessings,

    ~Polyglot~

      The inference was mostly correct. You're using strict 'vars'. There is more to strict than just vars. You are not using all of strict (and, indeed, are not even using the majority of it).