Installing CPAN module dependencies listed in META.yml

| No Comments | No TrackBacks

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...

No TrackBacks

TrackBack URL: https://blog.meon.sk/admin/tb/81

Leave a comment