Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Unable to load Strawberry perl shell on windows 7

by snoopy (Deacon)
on Aug 04, 2011 at 02:15 UTC ( #918419=note: print w/replies, xml ) Need Help??


in reply to Unable to load Strawberry perl shell on windows 7

CPAN takes out a lock to make sure that it is only running once.

The lock file normally contains a PID of the other CPAN process. It seems that the content of this file has become corrupted and contains null characters. CPAN is then choking when it tries to kill a non-numeric PID.

The simple solution is hopefully to remove the ".lock" file before running CPAN.

Do the following to find the path to CPAN home.

perl -MCPAN::Config -e "print $CPAN::Config->{cpan_home}"
Then look for and remove the file named .lock under that path.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://918419]
help
Chatterbox?
[holli]: at least for cars, if the ai works better than a human on average, by all means let the machines drive
[shmem]: holli: all of our machinery is more perfect in its realm than any human being in theirs (Günther Anders), which doesn't mean not having fun, albeit dangerous sometimes.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-11-21 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?