I am trying to figure out how to deploy the needed perl packages (best practice) out to multiple machines. On my local machine, I use perl -MCPAN -e 'install xxx::yyy'. I don't want to run this on every machine, I just want to deploy the necessary files for xxx::yyy (which may have many dependencies...resolved by the MCPAN install).
Is the best way to simply tar up /usr/lib/perl (or, something deeper down like /usr/lib/perl/site_perl) and untar that on the other machines?
I've never deployed perl before, so this is new to me (forgive my ignorance).
Thanks in advance!
Is the best way to simply tar up /usr/lib/perl (or, something deeper down like /usr/lib/perl/site_perl) and untar that on the other machines?
I've never deployed perl before, so this is new to me (forgive my ignorance).
Thanks in advance!