Perl Library problem?

karavite

Registered
I was writing a really simple Perl script (for YOU any way) using html linkextor and when I ran the script, my terminal responded that it could not find the library - Duh!

I went to apples page and http://developer.apple.com/internet/macosx/perl.html and found how to run CPAN.pm, but I think I botched the manual settings (not realizing they could be set up automatically). Now I can't seem to clear it or start over. Apple says to edit the text file /System/Library/Perl/CPAN/Config.pm, but it does not exist!. When I try to run it I get:

[localhost:~] deke% perl -MCPAN -e shell

There seems to be running another CPAN process (611). Contacting...
Other job not responding. Shall I overwrite the lockfile? (Y/N) [y]

Even though I have restarted. If I choose yes, then try to intall something I get a bunch of stuff then:

Could not open >yes/build/ANDK000/Makefile.PL at /System/Library/Perl/CPAN.pm line 3848

I just want to start over. Any way to just reinstall Perl or developer tools???
 
Replying to myself again

- the answer to my problems was to delete the directory .cpan in my home directory. Then I reran cpan and said N to the manual option - was able to install various perl libraries and now I am happy.
 
Back
Top