Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 33627
Status: rejected
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Eval version strings
Version strings need to be 'eval'ed so that numeric comparisons of version numbers don't cause errors. So instead of just this: our $VERSION = '6.43_01'; The following eliminates such problems: our $VERSION = '6.43_01'; $VERSION = eval $VERSION;
I did it for MakeMaker.pm which should solve 99% of the warnings. If more is to be done I'll take a patch.
Sorry, had to reverse it. It turned $VERSION='6.50' into 6.5 which is bad. If there's a sensible work around I'll take it, but I really don't want to get into doing some s/// on $VERSION.