The two code examples you have posted should be functionally equivalent.
Yep. So that leaves one possibility that there might be something implemented in either your code (as mentioned) or deep in the DBI code that is causing your problem. However, by looking at your prodigious use of DBI->connect I have the ask: why don't you just create a single database handle and simple reuse it? Last time I checked the database handle does not dictate read/write/update/delete access to the database.
Celebrate Intellectual Diversity
In reply to Re: Variable scope & subroutines
by InfiniteSilence
in thread Variable scope & subroutines
by Nyyr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |