PDA

View Full Version : So...what if I installed perl 5.10 from activestate...




Bentov
Apr 9, 2009, 09:45 PM
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?



wrldwzrd89
Apr 10, 2009, 05:00 AM
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.