On Thu Jun 30 16:08:25 2011, RJRAY wrote:
Show quoted text> Running Devel::Cover against my module RPC::XML, I got the following
> error when it was doing calculation after running the test
> t/70_compression_detect.t:
>
> Can't locate object method "NAME" via package "B::SPECIAL" at
> /Users/rjray/perl5/perlbrew/perls/perl-
> 5.14.0/lib/site_perl/5.14.0/darwin-2level/Devel/Cover.pm
> line 1162.
>
> This is Perl 5.14.0, built with App::perlbrew, under MacOS (Darwin).
> This happens consistently in this environment, it does not happen at
> all
> on my Linux box running the stock 5.10.0 from the vendor.
>
> Randy
I could not reproduce this with Perl 5.16.0 (built from source) and Devel::Cover 1.00 on Darwin:
$ HARNESS_PERL_SWITCHES=-MDevel::Cover make test "$@"
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... skipped: DateTime::Format::ISO8601 not available
t/15_serialize.t ................ ok
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... skipped: XML::LibXML not installed
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.t ................ ok
t/35_namespaces.t ............... ok
t/40_server.t ................... ok
t/40_server_xmllibxml.t ......... skipped: XML::LibXML not installed
t/41_server_hang.t .............. ok
t/50_client.t ................... ok
t/51_client_with_host_header.t .. ok
t/60_net_server.t ............... skipped: Net::Server not available
t/70_compression_detect.t ....... ok
t/90_rt50013_parser_bugs.t ...... ok
t/90_rt54183_sigpipe.t .......... ok
t/90_rt54494_blessed_refs.t ..... ok
t/90_rt58065_allow_nil.t ........ ok
t/90_rt58323_push_parser.t ...... ok
All tests successful.
Files=25, Tests=786, 265 wallclock secs ( 0.91 usr 0.36 sys + 114.63 cusr 11.34 csys = 127.24 CPU)
Result: PASS
[RPC-XML-0.77-mAQaOw] 515 $ perl -V
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=darwin, osvers=8.11.0, archname=darwin-2level
uname='darwin macintosh-8.local 8.11.0 darwin kernel version 8.11.0: wed oct 10 18:26:00 pdt 2007; root:xnu-792.24.17~1release_ppc power macintosh powerpc '
[snip]
Thank you very much.
Jim Keenan