Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Failure, need help : i tried to update Strawberry Perl naively, and broke it

by mascip (Pilgrim)
on Dec 11, 2012 at 07:42 UTC ( #1008227=perlquestion: print w/ replies, xml ) Need Help??
mascip has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, i did something stupid yesterday : i tried to update Strawberry Perl without switching my brain on.
I downloaded the latest version of Strawberry Perl, clicked "Install", and guessed : "Either it's going to work, or it's going to tell me in advance that it's not going to work".
Well, guess what, it didn't give me any warning, seemed to install properly, and now nothing works anymore.
* EDIT : i was wrong,

perl -e "print 'Hello'"
works properly. But
perl -e "use Data::Alias; print 'Hello'"
crashes.

Whether i try to call

>cpan
or any of my scripts, a window opens and tells me : "perl.exe has encountered a problem and needs to close. We are sorry for the inconvenience."

What can i do now to fix it all ?

I'm on Windows XP. My previous version of Perl was v5.12.3, and the one i tried to install is v5.16.2 (which is what is now indicated when i do "perl -v").

I guess i should have used something like perlbrew to avoid this problem.

Thank you for any help !

Comment on Failure, need help : i tried to update Strawberry Perl naively, and broke it
Select or Download Code
Re: Failure, need help : i naively tried to update Strawberry Perl, and broke it
by Anonymous Monk on Dec 11, 2012 at 08:02 UTC

    What can i do now to fix it all ?

    You might reboot so that any pendmoves get deleted then reinstall

    Or pskill perl then reinstall

    Or Uninstall (even if you have to rm -rfv C:\strawberry ) then reinstall

    I guess i should have used something like perlbrew to avoid this problem.

    Nope, perlbrew is linux only, and some like perlall better than perlbrew

    This is purely strawberryperl installer bug territory -- maybe try the .zip only installer

    An installer should be able to detect any conflicting perl.exe processes running, warn about installing in an old directory, overwrite said directory and all files successfully or warn you, ask to add shortcuts, ask to modify registry settings (add to %PATH%, add ftype/assoc )... but I've not used strawberry in a while

      Thank you. Next time i'll go for perlall then.

      I sent a bug report to the Strawberry Perl people.

      I rebooted already, so i guess my only option is to uninstall and re-install. I'd like not to have to re-install all the CPAN modules that i have, if possible. Is there any way to do this ?
      The worse case scenario that i imagined involves copying all of the tar files and re-installing each manually, in order to avoid downloading them again. I hope i won't have to do this.

        I rebooted already, so i guess my only option is to uninstall and re-install. I'd like not to have to re-install all the CPAN modules that i have, if possible.

        You would have to do that anyway going from 5.12 to 5.16

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008227]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-09-18 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (123 votes), past polls