develooper Front page | perl.perl5.porters | Postings from September 2009

[PATCH] 'eval' $ExtUtils::MakeMaker::VERSION to make it numeric

From:
Jerry D. Hedden
Date:
September 10, 2009 11:29
Subject:
[PATCH] 'eval' $ExtUtils::MakeMaker::VERSION to make it numeric
Message ID:
1ff86f510909101129q4870bdf0l7ff4a04c5eb78294@mail.gmail.com
The attached patch adds  '$VERSION = eval $VERSION' so that numeric
comparisons on version can be done by other module such as DBI which
currently produces the following error for 'perl Makefile.PL':

Writing Makefile for DBI
Argument "6.55_02" isn't numeric in numeric ge (>=) at Makefile.PL line 110.

The added statement is the 'standard' method of handling development
version numbers.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About