Install perl modules automatically using lib::xi

So you’ve downloaded a really cool perl script but it has 200 module dependencies? You could just install them one by one with cpanm or, you could use lib::xi. It automatically installs modules your perl script uses.

 # to install missing libaries automatically
 $ perl -Mlib::xi script.pl

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *