Re: debugging and stepping into ->do

[email protected] (Tim Bunce) Fri, 27 Apr 2018 14:45:39 +0100
Newsgroups perl.dbi.users
Message-ID <[email protected]>
On Wed, Apr 25, 2018 at 06:34:20PM +0000, Jeff Macdonald wrote:
>    Thanks Brian!
>    I'm familiar with C. My goal with digging into DBI was to programmatically cause a SQL error in a test
>    case. I needed somehow to create a wrapper around do (or execute) in which I'd examine the Statement and
>    "die" accordingly. This would allow me to validate database logic that rolled back a transaction.

https://metacpan.org/pod/DBI#Callbacks may help.

Tim.