On Apr 15, 2007, at 1:28 PM, John Peacock wrote:

Based on a discussion started on p5p, I have revised the version object code to always return the initializer string as the stringified version (much like I was already doing for Module::Build::Version). Thus what you put in is what you get out; the sole exception is that the use of qv(1.2) *NOTE* one decimal place and no leading 'v' *NOTE* will stringify as "v1.2" so we can successfully roundtrip
that value.

Attached, please find the patch to bring Module::Build into compliance. I also included a $VERSION scalar in M::B::Version, since that was missing (and already patched in bleadperl). I chose to keep the same $VERSION as the underlying version.pm release. I had to tweak a couple of tests that expected a leading
'v' (which the old code would prepend).

Thanks, applied.

 -Ken

Reply via email to