Installing CPAN module dependencies listed in META.yml

jozef on 2009-12-11T10:52:12

Have you ever had a Perl distribution extracted and wanted to install all it's dependencies afterwards? You can do it using:

cpan -i Test::Install::METArequires
perl -MTest::iMETAr -le 'Test::iMETAr->t'

The output will be TAP. One test per dependency. Is there some other (better) way to do it? Should be as always...


There’s a module for that

Aristotle on 2009-12-12T13:38:31

CPANPLUS::Shell::Default::Plugin::Prereqs

Re:There’s a module for that

jozef on 2009-12-12T13:50:01

`cpanp /prereqs install .` => looks good. thank you.