Note that the code you list defines DBD::_::common::FIRSTKEY, not DBI::FIRSTKEY:
{ package # hide from PAUSE DBD::_::common; # ... sub FIRSTKEY { }
So the question remains: Why is DBI::FIRSTKEY being looked for? Most likely (which may not be that likely, given how weird this problem appears to be), is that you have a hash tied to something blessed into DBI but the tied hashes from DBI should be blessed into DBI::db or DBI::st or such.
So use your debugger to trap the call to the DBI::FIRSTKEY you inserted and look at the call stack to figure out what code is triggering that call. Then you'll probably have to debug why the structure being used by that call got blessed into the wrong class.
It might also be worth looking for known bugs in DBI and the version of DBD that you are using. Follow the "view/report bugs" link from DBI and similarly for your version of DBD.
- tye
In reply to Re^7: Devel::GC::Helper + DBI (debug)
by tye
in thread Devel::GC::Helper + DBI
by marwatk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |