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

[email protected] (Gonzalo Barco) Wed, 31 Jan 2018 17:46:07 -0300
Newsgroups perl.cpan.discuss
Message-ID <CAMOUt7mgCqmW_ecbN7Pt_Sk4yHNDqfL+-sakR38a446L_r6-gg@mail.gmail.com>
--f403045e90b69b6fa305641891de
Content-Type: text/plain; charset="UTF-8"

I suggest perlbrew.
I know a 3000000+ line project with 400+ servers to deploy using perlbrew.
Never "misses" the deploy path for libs.

Also check out local::lib and Carton for some specific scenarios you might
want to support.

Regards,
gonzalo

On Jan 31, 2018 1:18 PM, "Xinhuan Zheng" <[email protected]> wrote:

> Dear CPAN,
>
> We are using Perl CPAN modules a lot. From time to time we need to build
> 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
> distributed 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 distributed Perl.
>
> Another related question, for some reason, if a particular CPAN module we
> need requires a specific Perl version, we normally need to install local
> 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 and Perl modules to be installed could go to
> wrong Perl library path.
>
> Thanks,
>
> - xinhuan
>
>

--f403045e90b69b6fa305641891de
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I suggest perlbrew.<div dir=3D"auto">I know a 3000000+ li=
ne project with 400+ servers to deploy using perlbrew.</div><div dir=3D"aut=
o">Never &quot;misses&quot; the deploy path for libs.</div><div dir=3D"auto=
"><br></div><div dir=3D"auto">Also check out local::lib and Carton for some=
 specific scenarios you might want to support.</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">Regards,</div><div dir=3D"auto">gonzalo</div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Jan 31, 2018 1:=
18 PM, &quot;Xinhuan Zheng&quot; &lt;<a href=3D"mailto:xzheng@christianbook=
.com">[email protected]</a>&gt; wrote:<br type=3D"attribution"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">



<div style=3D"word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-fam=
ily: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.=C2=A0</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>
</div>

</blockquote></div></div>

--f403045e90b69b6fa305641891de--