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

RE: $Win32::VERSION problem

Thread Previous | Thread Next
From:
Jan Dubois
Date:
February 26, 2007 09:49
Subject:
RE: $Win32::VERSION problem
Message ID:
018801c759ce$619be450$24d3acf0$@com
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/Copy.pm 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/Copy.pm 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...

Cheers,
-Jan




Thread Previous | 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