Re: error creating 'BUILD' script

John Peacock <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
Ben Fyvie wrote:
> $VERSION = '1.54_00_01';  # <---- dont forget to update the POD section just
> above this line!

The current release on CPAN is 1.54, so if ActiveState is shipping some 
non-standard package, then you need to open a ticket with them (I can't 
find an already open issue, but then their bugtracker sucks).

> Is this the version that is required on Windows Server 2003 R2 or can I
> change to a different version that obeys the single underscore rule?

You can probably just edit that file and take out the underscores; it is 
harmless for your purposes.

> I really have no idea if the fault belongs on ExtUtils::Install for using
> two underscores or in the Module::Build for validating against it. Maybe you
> could enlighten me. Thanks!

Module::Build uses a subclass of version.pm to do all of the version 
comparisons.  Because they quoted the $VERSION string, it hits the code 
which validates the formatting (which ultimately is what throws the error).

John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.