On Tue Mar 30 03:47:36 2010, solutions@overmeer.net wrote:
Show quoted text> * Slaven_Rezic via RT (bug-CPAN-Site@rt.cpan.org) [100328 19:37]:
> > Sun Mar 28 15:37:36 2010: Request 56033 was acted upon.
> > Transaction: Ticket created by SREZIC
> > Queue: CPAN-Site
> > Subject: Test failure with perl 5.12.0 (version-related)
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=56033 >
> >
> > Hello Mark,
>
> Hi Slaven,
>
> > Invalid version format (dotted-decimal versions require at least three
> > parts) at /usr/perl-5.12.0-RC0/lib/5.12.0/version.pm line 150.
>
> I have seen these reports for all of my modules, but expected that
> people would revert useless backward-compatibility breaking changes.
>
> My modules contain version numbers like this: (added automagically)
>
> use vars '$VERSION';
> $VERSION = '1.05';
>
> When does 5.12 stop complainig? I do not have it installed (yet)
> Which of the following are correct?
>
> $VERSION = 1.05;
> $VERSION = '1.05.00';
> $VERSION = 1.5.00;
>
> In my development model, I do not have a use for the third component.
> It seems silly to always add '.1' or such.
My understanding is that $VERSION = '1.05'; is still valid, and passes
both the "lax" and "strict" test of version.pm. What seems to be not
valid anymore, neither in lax nor strict test are versions like "1.28a"
or generally versions with alpha components.
I also think that the lax test should revert the former behavior.
Regards,
Slaven