How to manage various CPAN modules as a package for distribution purpose?

[email protected] (Xinhuan Zheng) Wed, 31 Jan 2018 15:25:36 +0000
Newsgroups perl.cpan.discuss
Message-ID <D6974A1A.26C5E%[email protected]>
--_000_D6974A1A26C5Exzhengchristianbookcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Dear CPAN,

We are using Perl CPAN modules a lot. From time to time we need to build va=
rious CPAN modules for various our projects. However, we want to have a way=
 to bundle them in one package so that this package can be easily distribut=
ed into various environments. What is best way to manage CPAN modules as a =
package? Note we are not using Active Perl. We use Unix/Linux platform dist=
ributed Perl.

Another related question, for some reason, if a particular CPAN module we n=
eed requires a specific Perl version, we normally need to install local ver=
sion of Perl, instead of using Perl from OS distribution. What is best way =
of managing two versions of Perl on same host because what would mean there=
 might be two cpan paths and Perl modules to be installed could go to wrong=
 Perl library path.

Thanks,

- xinhuan


--_000_D6974A1A26C5Exzhengchristianbookcom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <[email protected]>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif;">
<div>Dear CPAN,</div>
<div><br>
</div>
<div>We are using Perl CPAN modules a lot. From time to time we need to bui=
ld various CPAN modules for various our projects. However, we want to have =
a way to bundle them in one package so that this package can be easily dist=
ributed into various environments.
 What is best way to manage CPAN modules as a package? Note we are not usin=
g Active Perl. We use Unix/Linux platform distributed Perl.&nbsp;</div>
<div><br>
</div>
<div>Another related question, for some reason, if a particular CPAN module=
 we need requires a specific Perl version, we normally need to install loca=
l version of Perl, instead of using Perl from OS distribution. What is best=
 way of managing two versions of
 Perl on same host because what would mean there might be two cpan paths an=
d Perl modules to be installed could go to wrong Perl library path.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>- xinhuan</div>
<br>
</body>
</html>

--_000_D6974A1A26C5Exzhengchristianbookcom_--