Skip Menu |

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

Report information
The Basics
Id: 8488
Status: resolved
Worked: 20 min
Priority: 0/
Queue: ExtUtils-ModuleMaker

People
Owner: jkeenan [...] cpan.org
Requestors: william [...] knowmad.com
Cc:
AdminCc:

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



Subject: Stub code does not quote $VERSION string
Hi Geoffrey, I've come across another issue with the module template that modulemake uses. If the version is 1.00 or 1.010, then perl will truncate the trailing 0's. To avoid this behavior, the value should be put in single quotes (e.g., '1.00' or '1.010'). Thanks, William
I've taken over maintenance of ExtUtils::ModuleMaker from Geoff Avery. Can you please install the latest CPAN version (0.36), see if the problem still occurs, and send me the perl code which you are calling and which generates the problem. (I can't reproduce the problem so far.)
From: JKEENAN
[guest - Tue Nov 16 22:53:30 2004]: Show quoted text
> Hi Geoffrey, > > I've come across another issue with the module template that > modulemake uses. If the version is 1.00 or 1.010, then perl will > truncate the trailing 0's. To avoid this behavior, the value should > be put in single quotes (e.g., '1.00' or '1.010'). > >
This has indeed been fixed in recent versions of ExtUtils::ModuleMaker. See v0.42 which was uploaded to CPAN tonight. Also, check out its subclass, ExtUtils::ModuleMaker::PBP, which enables you to create the skeleton for a Perl distribution in the manner recommended by Damian Conway in his "Perl Best Practices." Please let me know if you have further concerns. Thank you very much. Jim Keenan (Maintainer)