develooper Front page | perl.perl5.porters | Postings from February 2002

bleadperl broke Devel::Cover

Thread Next
From:
Tels
Date:
February 27, 2002 13:56
Subject:
bleadperl broke Devel::Cover
Message ID:
perl.perl5.porters-53273@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On 27-Feb-02 Paul Johnson wrote:
> On Wed, Feb 27, 2002 at 07:45:51PM +0100, Tels wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Moin,
> Hi Tels,
> Executive summary:  bleadperl has a bug which broke 0.13.

>> te@null:~/perl/Devel-Cover-0.13 > make test
>> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -e 'use
>> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>> t/t1....Use of uninitialized value in substitution (s///) at
>> blib/lib/Devel/Cover/DB.pm line 329.
>> Use of uninitialized value in string eq at blib/lib/Devel/Cover/DB.pm
>> line
[snip lots of these]
>> Use of uninitialized value in concatenation (.) or string at
>> blib/lib/Devel/Cover/DB.pm line 333.
>> Undefined subroutine  called at blib/lib/Devel/Cover/DB/File.pm line 33
>> Can't use an undefined value as a symbol reference at
>> blib/lib/Devel/Cover/DB.pm line 335.
>> t/t1....dubious
>>         Test returned status 255 (wstat 65280, 0xff00)
>>         after all the subtests completed successfully
>> t/t2....Use of uninitialized value in substitution (s///) at
>> blib/lib/Devel/Cover/DB.pm line 329.
>> Use of uninitialized value in string eq at blib/lib/Devel/Cover/DB.pm
>> line
>> 330.
[snip lost of these]
>> Use of uninitialized value in concatenation (.) or string at
>> blib/lib/Devel/Cover/DB.pm line 333.
>> Undefined subroutine  called at blib/lib/Devel/Cover/DB/File.pm line 33
>> Can't use an undefined value as a symbol reference at
>> blib/lib/Devel/Cover/DB.pm line 335.
>> t/t2....dubious
>>         Test returned status 255 (wstat 65280, 0xff00)
>>         after all the subtests completed successfully
>> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>> -------------------------------------------------------------------------
>> t/t1.t       255 65280     1    0   0.00%  ??
>> t/t2.t       255 65280     1    0   0.00%  ??
>> Failed 2/2 test scripts, 0.00% okay. 0/2 subtests failed, 100.00% okay.
>> make: *** [test_dynamic] Error 2
>> te@null:~/perl/Devel-Cover-0.13 >
>> te@null:/home/te/perl/Devel-Cover-0.13 > perl -V

>> Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 13832)
> 
> This is the problem.  0.13 stopped working sometime after 11613, which
                                             ^^^^^^^^^^^^^^^^^^^^^

> is the last copy of bleadperl I have that still works.
> 
> The good news is that 0.13 works fine with 5.6.1, and that my
> development copy works with bleadperl.  The bug is to do with AUTOLOAD.
> You can find the details if you search the p5p archives.  Unfortunately
> it is not fixed and I don't have the time to do it.  Feel free to prod
> p5p.
> You may get away with changing Cover::DB.pm line 327 to
> 
>   my $func = $Devel::Cover::DB::AUTOLOAD || $::AUTOLOAD;
> Otherwise, if you can use 5.6.1 everything should be fine.
> I think all your problems stem from this one bug.

Summary: Something broke Devel::Cover. There is a workaround. 

Was the change in bleadperl (unsure which) a bug-fix, or introduced it
a new bug?

Cheers,

Tels

- -- 
 perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"'
 heterogeneously integrate holistic architectures

 http://bloodgate.com/perl       My current Perl projects
 PGP key available on http://bloodgate.com/tels.asc or via email

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iQEVAwUBPH1VoncLPEOTuEwVAQFInAf8CrxWFnfSAPHkg3zrepTTs7THvkWTBCFy
LdxErcqCtVb0jKFEEJ4ZoHfF3g6bYXo8ts4PwsD5Xjf4R7ZUJiVNop/1jvtPPaVL
Vb37ez4p+kThsG+z3OPl3Ax+RULutAkeQ98RGsnsdLvslU3lVRw2EP2kQ+2I6n2U
BJw7V3WBGuInEgylBLqm6Se7Uojiixj0jRrvPavIMygecIdlFPvqrq11Icwhuvq/
f3C838HTf2MLjr95tNkah7St5ePjpLap3T3QpjMDT7P9tLK4C1pTYho7FtYKhj3P
+fHriWKtFBNmDEcxZ/aD5qOy2EUzXFM7A2kUyRYJtUwsgj7H8F2adg==
=4srO
-----END PGP SIGNATURE-----

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About