Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Like the AM mentioned above, pretend like the system perl doesn't even exist. Its really (and I mean really) easy to make your own perl. You can even make a bunch of them (different versions, whatever you want).

The easiest way is to use something like App::perlbrew. You'll install this module with the system CPAN, and then you can install and switch between perl versions with a couple simple commands.

If you want to manage the installs yourself so you see whats going on, to me in many ways its even easier than perlbrew:

$ wget $ tar -zxf perl-5.8.1.tar.gz $ cd perl-5.8.1 $ sh Configure -de -Dprefix=/opt/perl-5.8.1 $ make $ make install $ export PATH="/opt/perl-5.8.1/bin:$PATH"

Now you have a throwaway perl in /opt/perl-5.8.1. Say you want to upgrade your modules but roll back if it doesn't work out. With this setup you can archive /opt/perl-5.8.1, do your module upgrades and test, and if it doesn't work out just delete /opt/perl-5.8.1 and extract the archive.

See my reply at Re: Windows type needs to set up Linux with Perl 5.8.1 to match PAUSE for more summary and Re: 2nd Perl installation on Mac OSX for complete details of how I manage perl installations if you're interested.

In reply to Re: How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations? by trwww
in thread How do I keep Red Hat perl RPM updates from damaging our local module upgrades and installations? by Perm

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (3)
    As of 2018-07-18 04:57 GMT
    Find Nodes?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

      Results (383 votes). Check out past polls.