develooper Front page | | Postings from July 2006

Re: fetching module version from the command line

Thread Previous | Thread Next
July 13, 2006 23:41
Re: fetching module version from the command line
Message ID:
>>>>> On Thu, 13 Jul 2006 19:36:52 -0400, "Randy W. Sims" <> 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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About