How can I use both ActiveState and Strawberry perl on windows

I already have ActiveState installed. Because of the ease of installing LibXML, I installed Strawberry. So, I currently have 2 perl programs, ActiveState and Strawberry. To use Strawberry I need to remove ActiveState as this is the default for Perl. How can I keep both programs and set Strawberry as the default on the classpath?

+3


source to share


1 answer


  • Right click on "My Computer".
  • Click Properties.
  • Click "Advanced System Settings".
  • Click "Environment Variables ...".
  • Select "Path".
  • Click on the nearest "Change".
  • Remove ActivePerl directory bin

    from "Variable value".
  • Add Strawberry Perl bin

    to the "Variable value" directory.
  • Click OK.

You may need to reopen existing programs and consoles to view the changes.



Or just don't use the default and use the full path to perl.exe

.

+1


source







All Articles