DEV Community

Yuki Kimoto - SPVM Author
Yuki Kimoto - SPVM Author

Posted on

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.

Top comments (0)