Gary Stainburn wrote:
> 
> If you did, CPAN would have upgraded everything else inside the CPAN bundle -
> including perl itself.  This it puts in the default place if
> /usr/local/bin/perl.  Your problem (and mine) is that RedHat put perl in
> /usr/bin/perl and symlink it /usr/local/bin/perl, which is why you end up
> with two version.
> 
> The way I fixed it was to delete /usr/bin/perl and then so as not to break
> any scripts that needed it I created /usr/bin/perl as a symlink to
> /usr/local/bin/perl so that if CPAN upgraded again, both links would be
> affected.
> 
> Bear in mind that if your module tree is version specific (i.e. @INC has the
> version number in the paths) which is the norm, you may lose some modules.
> You should use CPAN to re-install these missing modules.

if you're running redhat, why don't you create and install rpm's instead
of using MCPAN?

this way, you won't have the /usr/local/bin problem.

Reply via email to