Re: [Module::Build] [Fwd: CPAN Upload: J/JP/JPEACOCK/version-AlphaBeta-0.06.tar.gz]
Status: Beta
Brought to you by:
kwilliams
|
From: John P. <jpe...@ro...> - 2006-02-06 11:14:35
|
Ron Savage wrote:
> On Sun, 05 Feb 2006 11:10:51 -0500, John Peacock wrote:
>
> Hi John
>
>> version-AlphaBeta-0.06.tar.gz
>
> Now I'm wondering who will invoke this code.
>
> For instance, will Module::Build look to see if this module - and 'version' -
> are installed, and load them both, so as to call methods in 'version-AlphaBeta'?
Sadly, no that won't completely work yet. I was mostly setting the ground work
for eventual support.
The problem is that Module::Build (and the PAUSE indexer, and of course EU::MM)
try to be cute with the $VERSION assignment, so they don't always react well
when something different than a straight assignment is there. Presumably, as
soon as 0.27_08 is released, Module::Build will use the numify() method by
default, so this line:
use version::AlphaBeta; $VERSION = version::AlphaBeta->new("0.1a");
will display (for Module::Build purposes) as:
Creating new 'Build' script for 'Foo-Version' version '0.099997'
which will "work" but won't be what we want (in general). I'm not sure how to
solve this in general (apart from providing a Module::Build::version class,
which handles this much better and DTRT more often).
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
|