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

RE: $Win32::VERSION problem

Thread Previous | Thread Next
Jan Dubois
February 26, 2007 09:49
RE: $Win32::VERSION problem
Message ID:
On Mon, 26 Feb 2007, John Peacock wrote:
> Jan Dubois wrote:
>>>> Win32 version 0.270 (v0.270.0) required--this is only version 0.260
>>>> (v0.260.0) at c:\perl\lib/File/ line 273.
>> Hmm, this ugly error message looks a bit misleading, it really should
>> look like this:
> > | Win32 version 0.27 required--this is only version 0.26 at c:\perl\lib/File/ line 273.
> >
> > I normally try to stay out of the version number silliness, but this
> > does look like a step backwards to me. I have no idea if this can (or
> > should) be fixed in bleadperl or not (Perl 5.8 does give the correct
> > error message).
> That *is* the correct error message [for bleadperl]:
> 	0.27 == 0.270 == v0.270.0
> The presence of version objects in bleadperl mean that the error message
> needs to show both the floating-point and extended versions in the same
> message.  If you 'use version' under 5.8.x, you'll get that same error
> message...

This is a reason why I don't want to 'use version'. I'm using plain
numbers as the version, and therefore shouldn't have to worry about all
this other stuff.  I hope you at least realize that the new error message
is much more confusing for the novice user who couldn't care less
about version objects.

Anyways, I don't want to get involved in this, and will live with whatever
the pumpking decides to do...


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About