This looks awefully similar to troubleshooting perl sub routine and dbi error where you were told your first disconnect needs deleting.
You can examine the result returned from fetchrow_hashref to see how many columns are in it.
In reply to Re: Code improvement setting up multiple dbi calls based on a condition
by mje
in thread Code improvement setting up multiple dbi calls based on a condition
by JaeDre619
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |