Good evening Monks,

Long time lurker, posted the odd question.

I've done quite a bit of digging both on perlmonks and googling and thought I'd ask the question.

To give some background. We have a very wide range of perl scripts with typically hard coded shebang lines executed on a large number of machines.... number of scripts in the thousands (if not tens of thousands) and number of machines in the hundreds. Hence upgrading and managing Perl binary across all machines is probably not feasible.

Our range of locally installed Perl ranges between Perl 5.6 -> 5.8.6 -> 5.8.8 and now also Perl 5.10. We also have a range of OSs, SunOS, Linux, HPUX, AIX and Windows.

Naturally this is far from ideal and I'd like to leverage centralized shared Perl version across all scripts and boxes. Naturally an appropriate Perl binary for the relevant OS.

I'd ideas around dynamically replacing the shebang line to point towards an appropriate Perl binary on a shared drive but not sure if that's the best option.

Wanted to pop it out here to get a handle on others experiences and viewpoints.

Thanks Perl Monks! Appreciate it.


In reply to Leveraging centralised shared perl version? by kenm

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.