http://qs321.pair.com?node_id=1006410

BAJA has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

I have built Perl from its source on a Windows XP SP3 machine using MS C++ compiler from MS Visual C++ 2010.

This built I think is 5.8 or 5.9, I can't remember exactly, I only know that I could not use given/when statement, so it should be before 5.10.

Now, I would want to use the latest version of Perl, but I don't know if there is a way to uninstall the previous built? since I did some research but I did not have any success. May be is unregistering Perl?

I don't mind having different builds, but I would like how to handle them by making one the activated one? uninstalling or unregistering the oldest one?

Thanks in advanced.

  • Comment on Uninstalling or unregistering Perl on Windows?

Replies are listed 'Best First'.
Re: Uninstalling or unregistering Perl on Windows?
by CountZero (Bishop) on Nov 30, 2012 at 07:23 UTC
    Deleting the folder where you have placed your Perl files will normally be enough, unless you have made any changes (by hand) to the registry and/or the PATH environment variable. You will have to revert such changes as well of course.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re: Uninstalling or unregistering Perl on Windows?
by rpnoble419 (Pilgrim) on Nov 30, 2012 at 22:09 UTC
    I have several versions of Perl on my windows computer. I have a /usr/bin version, Strawberry Perl 5.10, 5.12 and ActiveState 5.10 and 5.12. Each is in its own folder. I use a batch file to create the paths and environment to configure which to use or I have the direct part if I'm calling from a test web page.
Re: Uninstalling or unregistering Perl on Windows?
by BAJA (Novice) on Dec 05, 2012 at 23:46 UTC

    Thank you for all your comments, I'll try to apply them as soon as I get the machine working again