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

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

Jerry D. Hedden
September 10, 2009 11:29
[PATCH] 'eval' $ExtUtils::MakeMaker::VERSION to make it numeric
Message ID:
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. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About