in reply to inheritance not working as expected

When subclassing DBI, say into YourPackage package, you must also subclass DBI::db and DBI::st into YourPackage::db and YourPackage::st, respectively.
Take a look at t/subclass.t included in DBI distribution as a working example on this.
  • Comment on Re: inheritance not working as expected