LorenzoTa / step-by-step-tutorial-on-perl-module-creation-with-tests-and-git

perl module development from the ground, with step by step testing process and git integration
37 stars 7 forks source link

Mention make dist to create CPAN distribution tarball #2

Closed Grinnz closed 5 years ago

Grinnz commented 5 years ago

make dist must be used to create a proper CPAN tarball before any sharing or installing of the code is attempted. This notably includes generating META.yml/META.json and adding them to MANIFEST, and leaving out any files not in MANIFEST.

Grinnz commented 5 years ago

It could also mention that cpanm can install distribution tarballs directly if you wish. cpanm Some-Dist-0.001.tar.gz

LorenzoTa commented 5 years ago

thanks a lot, the make dist was a part that i missed