develooper Front page | perl.perl5.porters | Postings from January 2005

Re: [Module::Build] Re: [perl #33927] [BUG] Coredump in 5.9.2 when evalling a certain string while in a coderf in @INC

Thread Previous | Thread Next
From:
Yitzchak Scott-Thoennes
Date:
January 26, 2005 17:39
Subject:
Re: [Module::Build] Re: [perl #33927] [BUG] Coredump in 5.9.2 when evalling a certain string while in a coderf in @INC
Message ID:
20050127013942.GA2920@efn.org
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 };


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About