Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
when I run it under the debugger when inside 'handle_error' I getsub handle_error { my $errortext = shift; my $handle = shift; my $dbh; my $dbh = $handle->{'Database'};
However DBI::db=HASH(0x33c6af0) cannot be empty since I consume it in the next lines withDB<2> x @_ 0 'Duplicate key on INSERT detected. (Tue Jan 30 08:45:55 2024)' 1 DBI::db=HASH(0x33c6af0) empty hash 2 undef
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI handle_error debugging (updated)
by LanX (Saint) on Jan 30, 2024 at 07:43 UTC | |
by Anonymous Monk on Jan 31, 2024 at 08:20 UTC | |
by LanX (Saint) on Jan 31, 2024 at 09:41 UTC |