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:
Ken Williams
Date:
January 26, 2005 12:01
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:
FEB3EC0E-6FD4-11D9-8683-000A95BD9874@mathforum.org

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.

  -Ken
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