How to pass the arguments of Makefile.PL using cpanm

yukikimoto

Yuki Kimoto

Posted on December 23, 2022

How to pass the arguments of Makefile.PL using cpanm

The command cpanm --installdeps . to install dependent modules executes perl Makefile.PL.

How to pass the arguments of perl Makefile.PL executed by cpanm.

The answer is using the --configure-args option.

cpanm --installdeps . --configure-args="--meta"
Enter fullscreen mode Exit fullscreen mode

For Programming Beginners

cpanm is a command tool to install Perl modules from CPAN.

💖 💪 🙅 🚩
yukikimoto
Yuki Kimoto

Posted on December 23, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related