We're looking at modernising our standard perl install on 1000+ Windows machines of mixed versions (2000 through 2008, 32 and 64 bit, various hardware, including VM).
We are considering two options:
1. One 32-bit perl
We build a 32 bit perl and modules, place it on a filer (eg \\ourperl\bin\perl.exe), and always call that one perl for everything.
When we need a new module, we test it on one 32 bit and one 64 bit machine locally and then update the master if the tests pass.
CON: Some modules running on 32-bit perl are buggy on a 64-bit os (eg Win32::TieRegistry and Win32::OLE)
2. 32 and 64 bit perls
We keep two perls up to date, eg \\ourperl\32bit\bin\perl.exe and \\ourperl\64bit\bin\perl.exe, each with it's own versions of any cpan modules we need. Updating modules works similar to 1, but we do the tests and rollouts seperately.
CON: Each machine needs to keep track of the location of perl.
Have I missed anything? Is there a significant performance difference with 64 bit? Is it worth the admin hassle of having all the perls locally installed? We are tending towards strawberry (because of better cpan support, and I'm fairly sure we can compile in INC to point to a network drive).
We also have to consider that on some of these machines other perl versions may be installed, so we have to be careful about changing anything in the global environment (that's what the IPCC said).
Our usage is quite varied, from gui apps called from network shares on user request, scripts started remotely via ssh, and locally started scheduled tasks.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.