[PLUG] Using a new perl on CentOS...

Keith Lofstrom keithl at kl-ic.com
Thu Sep 16 06:47:08 UTC 2010


On Wed, Sep 15, 2010 at 07:39:26PM -0700, Michael C. Robinson wrote:
> It goes without saying, Perl-5.8.8 is long in the tooth.  If you
> download Perl 5 these days, the current version is 5.12.1 and

Leave the system Perl alone ( /usr/bin/perl ).  Especially the
redhat version, they messed it up to match their expectations.
Let rpm upgrades take care of any "improvements" added by
redhat to that, but otherwise keep the cotton-pickin hands off,
or Wierd Things Will Happen.

For everything else, install the Perl of your dreams in
/usr/local/bin/perl , and modify any scripts that are hardcoded
to /usr/bin/perl that you want to use it.  Since binaries in
/usr/local/bin are used in preference to /usr/bin , many scripts
will use the local version.

Besides keeping all the redhat perl scripts working, this also
leaves you with a version of perl on the system that may be bent
but is unlikely to get broken.  

Keith

-- 
Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs



More information about the PLUG mailing list