Using dzil to install with cpanm
If you are creating a distribution using Dist::Zilla, you can install it using "dzil install". However, that will use the standard CPAN shell.
To make this work with cpanm, use:
dzil install --install-command "cpanm ."
Now if only Dist::Zilla allowed aliases like git did... I'd like to have something like this in ~/.dzil/config.ini:
[alias]
instm = install --install-command "cpanm ."
Leave a comment