Subject: | Can't profile scripts that use Test::More |
Looks like there's a bad interaction between Devel::Profiler and Test::More:
% perl -d:Profiler -e 'use Test::More'
No DB::DB routine defined at /Library/Perl/5.8.6/Devel/Profiler.pm line 19.
INIT failed--call queue aborted.
No DB::DB routine defined at /System/Library/Perl/5.8.6/Test/Builder.pm line 1813.
END failed--call queue aborted.
No DB::DB routine defined at /Library/Perl/5.8.6/Devel/Profiler.pm line 22.
END failed--call queue aborted.
I have version 0.80 of Test::Builder and Test::More, and 0.04 of Devel::Profiler. I'm using perl
5.8.6 on OS X Tiger.
-Ken