I can use UNIVERSAL::isa and UNIVERSAL::can in my code to warn people that things will break if they use them incorrectly and to try to route around the damage as much as possible.
I agree with you 100%, however, the problem is that UNIVERSAL::can actually dies, and not just warns in this particular case. The last error in the OPs post ...
Can't call method "can" on an undefined value at /usr/local/share/perl/5.8.4/UNIVERSAL/can.pm line 40.is actually UNIVERSAL::can die-ing. This is is something too that (IMO) can be routed around fairly easily so I sent you a patch and test for this.
In reply to Re^3: Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject
by stvn
in thread Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject
by Mutant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |