Deciding between Docker and local::lib and App::perlbrew is mostly an organisational decision.

With local::lib, you can delegate some of the maintenance to the machine administrators, as they install (and maintain) the external libraries, mostly through the OS package manager. You are responsible for installing and maintaining the Perl libraries that have no package in the OS repository.

With Docker, you are in control (and responsible) for all of the libraries and Perl libraries as well.

With App::perlbrew, you are completely independent of the system Perl, but still need the system administrators to install external libraries.

Personally, I prefer to rely on the system administrators for maintaining the overall system, that is, I strive to use local::lib or App::perlbrew to either maintain my own Perl or my libraries together with the system Perl.


In reply to Re: Example of building/deploying perl program like StrawberryPerl by Corion
in thread Example of building/deploying perl program like StrawberryPerl by xiaoyafeng

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.