Skip Menu |

This queue is for tickets about the experimental CPAN distribution.

Report information
The Basics
Id: 123784
Status: resolved
Priority: 0/
Queue: experimental

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.017
Fixed in: (no value)



Subject: Subroutine bar redefined
t/basic.t test fails if executed with "perl -w": $ perl5.26.1 -w t/basic.t ... not ok 5 - Got unexpected warning # Failed test 'Got unexpected warning' # at t/basic.t line 5. # Subroutine bar redefined at (eval 12) line 2. ... See also http://matrix.cpantesters.org/?dist=experimental%200.017;perl=5.18.4;reports=1 for similar fail reports at CPAN Testers. Probably the test script should have a "use warnings" so warnings are consistently generated. Currently it seems that -w is sometimes set when "make test" runs (seen on two of my smokers, both with perl 5.18.4). And of course, the 2nd "sub bar" needs to be renamed.
Subject: Re: [rt.cpan.org #123784] Subroutine bar redefined
Date: Wed, 29 Nov 2017 12:46:20 +0100
To: bug-experimental [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Wed, Nov 29, 2017 at 7:31 AM, Slaven_Rezic via RT < bug-experimental@rt.cpan.org> wrote: Show quoted text
> Wed Nov 29 01:31:19 2017: Request 123784 was acted upon. > Transaction: Ticket created by SREZIC > Queue: experimental > Subject: Subroutine bar redefined > Broken in: 0.017 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=123784 > > > > t/basic.t test fails if executed with "perl -w": > > $ perl5.26.1 -w t/basic.t > ... > not ok 5 - Got unexpected warning > # Failed test 'Got unexpected warning' > # at t/basic.t line 5. > # Subroutine bar redefined at (eval 12) line 2. > ... > > See also http://matrix.cpantesters.org/?dist=experimental%200.017; > perl=5.18.4;reports=1 for similar fail reports at CPAN Testers. > > Probably the test script should have a "use warnings" so warnings are > consistently generated. Currently it seems that -w is sometimes set when > "make test" runs (seen on two of my smokers, both with perl 5.18.4). > > And of course, the 2nd "sub bar" needs to be renamed. >
Yeah that is a bug. Fixed in 0.018 :-) Leon