понедельник, 2 ноября 2015 г.

Сreate a cpanfile with your dependencies automatically, how?

cpanm App::scan_prereqs_cpanfile
scan-prereqs-cpanfile > cpanfile
cpanm Test::Requires::Scanner
scan-prereqs-cpanfile --scan-test-requires > cpanfile
cpanm --installdeps .
What is cpanfile and why do I want to use it
Why I use cpanfile (and you should too)
Install perl module without test
cpan[1]> notest install FooBarBaz
perl -MCPAN -e "foreach (@ARGV) { CPAN::Shell->rematein('notest', 'install', $_) }" %1
view raw pannti.bat hosted with ❤ by GitHub