Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I accidentally deleted the /System/Library/Perl/ folder. Now I am not be able to run any of my projects.

How can I reinstall Perl on OS X?

share|improve this question

migrated from stackoverflow.com Mar 20 '12 at 0:25

This question came from our site for professional and enthusiast programmers.

2  
How did you "accidentally" do that ? Anyway, just update your system software and you will get the OS X Perl installation back again. – Paul R Mar 19 '12 at 21:59
    
@yrosen is there a way like "apt-get install perl" on Mac? I don't have the installation disk. – Terminal User Mar 19 '12 at 22:05
    
@PaulR How to update my system? I don't have the installation disk – Terminal User Mar 19 '12 at 22:06
1  
See @yrosen's link to a similar question on SuperUser above - you can use Pacifist to extract the relevant packages. – Paul R Mar 19 '12 at 22:08
    
What version of OS X do you have? – slhck Mar 20 '12 at 9:30

You must log in to answer this question.