Subject: | use Test::MockObject generates warnings from UNIVERSAL::can |
When using Test::MockObject I get errors like these:
Called UNIVERSAL::can() as a function, not a method at
/Library/Perl/5.8.8/DateTime/Locale.pm line 298
Called UNIVERSAL::can() as a function, not a method at
/Library/Perl/5.8.6/Class/Container.pm line 422
If I comment out "use Test::MockObject" the messages stop (but of
course, my tests fail. :-)
Is this actually a bug in my code, someone else's code or the
Test::MockObject module? Is it even a bug at all?