Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
When upgrading minor versions like this, you generally have nothing to worry about with respects to modules and scripts that might be tailored to the older version. When modules are written that are specialized with one particular version of Perl, or a specific architecture, they will place themselves in a version- or architecture-specific directory in your Perl lib directory (e.g. /usr/lib/perl5). Thus, you can usually have several different versions of Perl running simultaneously on the same system, as each one will only pay attention to its own version-specific subset of Perl modules. Other Perl modules that aren't version-specific sit high in, say, 'site_perl', and can be used by any version or architecture of Perl. This also allows for a reasonable attempt at sharing the same Perl lib directory across the network for multiple systems on multiple architectures with multiple Perl versions, if you so desire.

So in other words, I wouldn't worry about removing old stuff before installing new stuff. In fact, most major production installations tend to keep both versions around (with Perl binaries referenced as, say, perl5.00503 and perl5.6.1), so that older code that might have a problem with the new version can easily just point itself back to the old Perl binary and still function fine. The only caveat is that a great number of your modules will have to be re-installed/re-built after your upgrade, to populate the 5.6.x library hierarchy, but you'd have to do that anyway with a fresh install.

In reply to Re: Clean 5.6 Install by Fastolfe
in thread Clean 5.6 Install by cei

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-06-17 23:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.