Install all metacpan favorited distributions

Today I had to install fresh Perl on one of my dev boxes and I was thinking if there is easy way to grab and install all of mine favorited distributions on metacpan.

I wrapped that into simple script, that reads all the favorited distributions from metacpan, using Mojo::UserAgent and installs them using cpanm.

Here is the script:


You can also create a task that contains all your favorited distribution using this:

Although some have thought that this is a bad idea...

Yup, it's definitely more work. I created a task originally because I often go offline. With a task on CPAN I can just mirror CPAN and install it offline. Plus, it lets me track my favorites over time.

Leave a comment

About dpetrov

user-pic I blog about Perl.