it needs to be in the sub
sub store_items { my $dbh = shift; ....
If this is the case then follow my previous suggestion and use Data::Dumper to print out the database handle right before your error and see what you get.
sub store_items { my $dbh = shift; use Data::Dumper; print Dumper $dbh; ...
| Mynd you, mønk bites Kan be pretti nasti... |
In reply to Re: Re: Re: Method "do" error
by grep
in thread Method "do" error
by b310
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |