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

Re: [rt.cpan.org #65284] Module broken with 5.13.x development perl versions

Thread Previous
From:
David Golden
Date:
February 1, 2011 12:15
Subject:
Re: [rt.cpan.org #65284] Module broken with 5.13.x development perl versions
Message ID:
AANLkTim9guftGOdtipvWU25k6xbsuaiZN+rXZL_-p+Uj@mail.gmail.com
On Tue, Feb 1, 2011 at 2:57 PM, Jesse Vincent <jesse@fsck.com> wrote:
>
> I'd like to step this discussion back a bit.
>
> The report https://rt.cpan.org/Ticket/Display.html?id=65284 claims that
> this problem starts in 5.13.  That seems like it shouldn't be the case
> given what's being described and that it should actually have started
> failing before 5.12.
>
> "We broke this last year, before the previous stable release and only
> just noticed" is different than "We broke this this year and, knowing
> thiat, it's a showstopper for the next stable release."
>
> Before we continue to argue about which fix is the least harmful, let's
> characterize the problem.

Moreover, as far back as 5.10.0, UNIVERSAL::VERSION ignores "-1, ..."
and treats it as "0".  (Only in 5.12 did it become fatal.)

  $ perl5100  -we 'package Foo; sub foo{}; package Bar; use base
"Foo"; print "<".Foo->VERSION.">\n"'
  Version string '-1, set by base.pm' contains invalid data; ignoring:
'-1, set by base.pm' at -e line 1.
  <0>

-- David

Thread Previous


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