Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: cannot launch CPAN shell

by marto (Cardinal)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-05-17 16:10 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (158 votes). Check out past polls.