Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: cannot launch CPAN shell

by marto (Bishop)
on Oct 07, 2013 at 14:06 UTC ( #1057257=note: print w/replies, xml ) Need Help??

in reply to cannot launch CPAN shell

Yes, messing with the system perl can result in an unstable machine. If you took a backup before doing this, now is the time to restore. If not, consider this an unfortunate lesson. Backups are a good idea.

The first thing I'd suggest would be to go down the Disk Utilities -> Repair routine, let the system determine what permissions things should have, and reassign them accordingly. If that does not work I'd suggest looking at using Pacifist and restoring these files:

"This is useful, for instance, if an application which is installed by the operating system becomes damaged and needs to be reinstalled without the hassle of reinstalling all of Mac OS X"

For future reference the XCode alternative I mention can be found here.

Update: To address your questions in the CB regarding the installation of your own Perl elsewhere on the system (which is a good idea), removes some effort in installing and maintaining Perl (or multiple Perls) on your system. It can also be used to automate testing your code against multiple versions of Perl. That said, the README has an explanation of the 3 lines required to install Perl to a path of your choice. See also INSTALL.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1057257]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-03-20 22:15 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (260 votes). Check out past polls.