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

Re: $Win32::VERSION problem

Thread Previous | Thread Next
John Peacock
February 26, 2007 09:22
Re: $Win32::VERSION problem
Message ID:
Jan Dubois wrote:
> On Mon, 26 Feb 2007, Yitzchak Scott-Thoennes wrote:
>> Steve Hay wrote:
>>> I just tried building libwin32-0.26 using an installed copy of the
>>> current bleadperl, and got this error:
>>> 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 


John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

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