in reply to Re^3: Issue with dbi connect_cached method
in thread Issue with dbi connect_cached method
Thank you Corion for the revert. Here lexical scoped variable $dbh has been used (not a global one), so here it should have been created a new connection, isn't it? but somehow it seems to act as a global variable. Is there any downside if I retain the "connect" itself instead of "connect_cached", at least for this problematic part of the code.
Please suggest. Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Issue with dbi connect_cached method
by Corion (Patriarch) on Apr 22, 2022 at 17:45 UTC |