On Wed, 16 Feb 2005, Ken Simon wrote:

> It probably installed the perl binary to /usr/local/bin/perl, or 
> something similar.  Do a `which perl` and find out where your current 
> perl is (probably /usr/bin/perl), and install perl to that prefix. 
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

This isn't good advice, though it sounds like he already did it.

On most systems, a lot of scripts depend on and are tested against the 
version of Perl that the vendor put at /usr/bin/perl. While newer 
versions of Perl tend to have patches for bugs in earlier versions, 
sometimes new bugs are introduced, or backwards compatibility with older 
modules & scripts is broken. Replacing /usr/bin/perl opens the door to 
all kinds of headaches that could easily be avoided if you just leave it 
alone in the first place.

If you want a newer version of Perl than the one your operating system 
provided, put it at /usr/local/bin/perl, write all your scripts against 
your version there, and just pretend the stock version doesn't exist.

 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to