While I agree installing multiple versions of Perl is a good
thing, I don't agree with your naming scheme. /usr/local/bin/perl for 5.8.2 next to /usr/bin/perl for the
older version seems like a good idea, but it doesn't scale.
Perhaps after a year you need 5.10, of 5.8.6; where are you
going to place that? I would suggest something like:
/opt/perl/5.005_03, /opt/perl/5.6.1, /opt/perl/5.8.2, etc.
Just a separate dir for each versions of Perl you have in
use, and all a subdir from a common dir.
Alternatively, if you have a machine that has just a few
applications installed, you could make Perl part of the
application itself. Say, the application installs itself
in /opt/my_app, just install the required version of Perl
somewhere below /opt/my_app; this gives the application
full control over which version of Perl is being used.
I've succesfully used that technique myself in the past
(for both Perl and Java), and it works like a charm.
Abigail
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.