note
marto
<p>I tend to avoid using the OS perl whenever possible. When dealing with the system perl, the OS package manager should use used.</p>
<p><i>"It is not an enterprise solution since most companies will not let you install software from the Internet for production systems and you will just have to figure out some other way to package your software anyway."</i></p>
<p>This depends upon your environment. We have no direct internet connections. A cpan mirror (crated using [metamod://minicpan] on a system which does have interwebs access) allows us to build what we need before deploying fleet wide.</p>
<c>
$ wget https://cpan.metacpan.org/authors/id/J/JM/JMCNAMARA/Excel-Writer-XLSX-1.03.tar.gz
$ cpanspec -b Excel-Writer-XLSX-1.03.tar.gz
</c>
<p>Here you are still just downloading software from the internet, repackaging it and later deploying it, albeit with the OS package manager, [metamod://Archive::Zip] isn't core so I think you'd have to use <c>cpanspec --follow</c> to ensure you satisfy dependencies:</p>
<p><i>"If you are feeling really lucky (or maybe crazy), you can also have cpanspec build a binary rpm by passing the -b (or --build) option. As of version 1.66, you can also use --follow to have cpanspec fetch any build dependencies that aren't already available."</i></p>
<p>[https://fedoraproject.org/wiki/Perl/cpanspec].</p>
1168343
11115222