Just another Perl shrine | |
PerlMonks |
special $dbh can't error?by themage (Friar) |
on Oct 03, 2008 at 10:20 UTC ( [id://715176]=perlquestion: print w/replies, xml ) | Need Help?? |
themage has asked for the wisdom of the Perl Monks concerning the following question:
(re)Blessed minds,
Imagine the following code: I would expect that in this code, the $dbh->can("error") returned a reference to My::Special::DBI::db::error. However, undef is returned. Can anyone explain me what sets my expections out of sync with reality? For extra-information, I tested this with: Thank you, everyone.
Back to
Seekers of Perl Wisdom
|
|