I also have to manage Perl scripts that get run on a variety of servers with various OS's (but they're all unix). I copy the actual perl script to each server. For CPAN modules, I use the "install local" option on one server, then I tar up that lib directory, and copy it to the others. Set the PERL5LIB env var to the path of this lib so that perl can find it. For modules that have binary parts and/or require compiling etc., I'd recommend building on the oldest OS, and copying out from there. I would only use PAR::Packer if I needed to deploy to a Windose box for some reason. Don't install modules as root, since you might accidentally break your system perl (or change the behavior of scripts used by the OS). If I need to change something, I test on one machine, then push out the new version to the other s using rsync.

In reply to Re: PAR::Packer link to lower glibc version by scorpio17
in thread PAR::Packer link to lower glibc version by hep

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.