develooper Front page | perl.qa | Postings from July 2006

Re: fetching module version from the command line

Thread Previous | Thread Next
From:
andreas.koenig.gmwojprw
Date:
July 13, 2006 23:41
Subject:
Re: fetching module version from the command line
Message ID:
87veq0k7t7.fsf@k75.linux.bogus
>>>>> On Thu, 13 Jul 2006 19:36:52 -0400, "Randy W. Sims" <ml-perl@thepierianspring.org> said:

  > David Wheeler wrote:
 >> On Jul 13, 2006, at 05:56, Fergal Daly wrote:
 >> 
 >>> That's funny, it looks like I did put some code in to disable the END
 >>> block if it's "require"d rather than "use"d. Turns out I did this to
 >>> make MakeMaker happy, so MakeMaker does actually do a full require,
 >> Well, IIRC, both MakeMaker and Module::Build grep for the version
 >> line and eval that one line, but not the whole file. The CPAN
 >> indexer, OTOH, evals no code but just uses a regular expression
 >> search of the module file.

  > Actually, I believe the CPAN indexer now uses META.yml whenever possible.

That's correct.

-- 
andreas

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