Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Listing scripts in distribution metadataby perlancar (Hermit) |
on Oct 27, 2020 at 22:43 UTC ( [id://11123239]=perlquestion: print w/replies, xml ) | Need Help?? |
perlancar has asked for the wisdom of the Perl Monks concerning the following question:
I wonder why the CPAN distribution metadata does not define a more general 'provides' to let a distribution specifies the list of scripts or other documents that it contains, in addition to packages. It would make things easier for tools like MetaCPAN, or App::lcpan. Right now I believe (not confirmed yet by reading the source code) that MetaCPAN performs some static parsing of Makefile.PL to get EXE_FILES, but less-than-straightforward declaration of EXE_FILES will make it miss (example: Spreadsheet-Read's Makefile.PL).
Back to
Seekers of Perl Wisdom
|
|