Re: [Module::Build] M::B and version.pm
Status: Beta
Brought to you by:
kwilliams
|
From: David E. W. <da...@ki...> - 2006-02-22 20:13:53
|
On Feb 19, 2006, at 07:37, John Peacock wrote:
> Please withdraw from consideration my patch to include version.pm
> support in
> Module::Build 0.28. Now that we have made the obj->numify()
> change, M::B will
> correctly handle the case where the module author uses version.pm, and
> everything else will still work correctly.
Actually, I'm running into an issue with the numify() support: it's
misnaming my distributions! I have a module that uses version
internally:
our $VERSION = version->new('0.0.1');
However, when I build a distribution with it, the tarball isn't named
Foo-Bar-0.0.1.tar.gz. It's named Foo-Bar-0.000001.tar.gz!
Is there a way 'round this? Maybe dist_version could store the
version object instead of the numified representation, so that the
string format (v0.0.1) can be used where appropriate, and the
numified representation (0.000001) can be used where appropriate?
Thanks,
David
|