On Wed, Jan 26, 2005 at 02:00:57PM -0600, Ken Williams wrote:
>
> On Jan 25, 2005, at 3:26 PM, John Peacock wrote:
>
> >Jos I. Boumans wrote:
> >>I suppose if Module::Build::Base would say, at the top:
> >> $VERSION = $Module::Build::VERSION
> >>this would make EU::MM, M::IV, M::L::C and of course CPANPLUS::inc
> >>find a 'real' version declaration, rather than something evil that
> >>will blow away UNIVERSAL::VERSION.
> >
> >Yes, that would be an appropriate fix to M::B::Base.
>
> That won't work. All those tools evaluate the version line in
> isolation, not by loading the modules and checking the value of
> $VERSION. In other words, when Module::Build::Base's version is
> checked, Module::Build won't be loaded, so the version would be undef.
$VERSION = do { require Module::Build; $Module::Build::VERSION };