Hi all,
I was running some test code with Devel::Cover and I've had no problem using it or
generating
pretty reports that make coworkers "ooh" and "ahh". Unfortunately, I started running
my test
suite on a different set of tests and started getting some strange errors (formatted
for clarity):
Devel::Cover: Can't find file "blib/lib/Text/CSV.pm": ignored.
Can't locate object method "find_cv" via package "B::SPECIAL"
(perhaps you forgot to load "B::SPECIAL"?) at
/usr/local/stow/ASperl-5.6.1-629/lib/5.6.1/i686-linux/B.pm line 213.
To narrow down the problem, I tried running this on a smaller set of tests, only to
get the above
output, but with the following line prepended:
Devel::Cover: Can't find file "blib/lib/Storable.pm": ignored.
I'm not sure how running fewer tests is generating more errors, but in digging through
Devel::Cover, I can't even find a reference to Text::CSV, nor has digging through B.pm
shed any
light (though I may require therapy now).
Googling has also been fruitless for me.
Has anyone seen any errors like this before and can you give me some guidance on what
I can do to
alleviate them? I'm trying to create a small test case, but this has been pesky to
narrow down.
In the meantime, I'm going to try to add signal handlers to dump stack traces and
maybe even
symlink a 'blib/lib' to the appropriate libraries (what a nasty hack!).
Cheers,
Ovid
=====
Silence is Evil http://users.easystreet.com/ovid/philosophy/indexdecency.htm
Ovid http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com