logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] M::B and version.pm: msg#00257

Subject: Re: [Module::Build] M::B and version.pm
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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>