So...what if I installed perl 5.10 from activestate...

Discussion in 'Mac Programming' started by Bentov, Apr 9, 2009.

  1. macrumors regular

    Joined:
    Jul 22, 2007
    #1
    I downloaded perl 5.10 from activestate before I read something that said I shouldn't on CPAN(upgrading). It seems to have installed itself do a different directory /usr/local vs. /usr/bin. So I guess my question is, did it overwrite anything that I need to fix? Is there any harm in just deleting 5.10?


    *Edit* I did a little more research and it seems that this will not affect the apple supplied perl; so I believe that I will be ok in just removing it...is my assumption correct?
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    Yes on all counts. You didn't overwrite the Apple-supplied Perl interpreter. If you find that attempting to invoke perl commands no longer works after removing it (because the perl command in /usr/bin is a symbolic link to the one you removed in /usr/local/bin, which no longer exists), this is easily fixed. Find the system perl executable in /usr/bin then ln -s /usr/bin/perl back to this program.
     

Share This Page