Skip Menu |

This queue is for tickets about the Params-Validate CPAN distribution.

Report information
The Basics
Id: 56986
Status: resolved
Priority: 0/
Queue: Params-Validate

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

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



Subject: Attribute::Params::Validate has confusing VERSION in it
package Attribute::Params::Validate has a version with a leading space: $VERSION = sprintf '%2d.%02d', q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; which simplifies down to: perl -E 'say sprintf("-%2d.%02d-", 1, 7)' Could I reccommend it be replace with either 1.07 or if you must: $VERSION = sprintf '%d.%02d', q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; I'm guessing this may confuse some parsers the way you have it now, especially since Revision 1.7 resolves to 1.07 when the code executes.