[Padre-dev] [Padre-commit] rev 938 - in projects/Task-Padre-Plugins: . lib/Task/Padre
Adam Kennedy
adamkennedybackup at gmail.com
Thu Nov 13 19:23:46 PST 2008
The only keys in META.yml that is considered authorative by the
CPAN.pm is configure_requires, and additionally for the indexer things
like no_index.
Everything else is advisory, because to get accurate metadata we need
to execute Makefile.PL.
Versions come from the Makefile.PL, which typically pull it from the .pm file.
Adam K
2008/11/13 Steffen Mueller <smueller at cpan.org>:
> Gabor Szabo wrote:
>> Does it prefer to look in the main .pm file over MATE.yml or the filename?
>
> I think it prefers META.yml over everything. I don't think it respects a
> version in the file name *at all*. Similarly, I doubt it tries to parse
> Build.PL (not that you insinuated it would).
>
> However, it's mostly personal preference that I like to have a version
> in any piece code. That makes it easy to answer the question of "what
> version of Task::Padre do we have on this machine?". This is not
> possible if you have it just in Build.PL/Makefile.PL.
>
> Cheers,
> Steffen
> _______________________________________________
> Padre-dev mailing list
> Padre-dev at perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
>
More information about the Padre-dev
mailing list