in reply to Re^10: Best practices for closing database connections?
in thread Best practices for closing database connections?
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).