in reply to Nesting prepared DBI handles

"Portable applications should not assume that a new statement can be prepared and/or executed while still fetching results from a previous statement."

See the DBI documentation