in reply to Devel::GC::Helper + DBI
from what I can tell DBI puts some magic on a hash (fake hash?), but doesn't implement some of the necessary iteration methods
I don't have that problem with my copy of DBI and I see FIRSTKEY in the most recent DBI on CPAN.
So you might want to put some more effort into figuring out why your copy of DBI is broken (or give us more information so we can help you do that).
Note that fixing this particular problem is likely as easy as:
sub DBI::FIRSTKEY { () }
which you don't even have to put inside DBI.pm. That's certainly much easier than trying to make XS code tolerant of broken modules.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Devel::GC::Helper + DBI (easy)
by marwatk (Novice) on Sep 29, 2006 at 20:52 UTC | |
by tye (Sage) on Sep 29, 2006 at 21:16 UTC | |
by nmerriweather (Friar) on Sep 30, 2006 at 01:05 UTC | |
by tye (Sage) on Sep 30, 2006 at 06:38 UTC | |
by quelquun (Initiate) on Oct 17, 2006 at 23:01 UTC | |
|