I have ActiveState installed already. Due to the ease in installing LibXML, I installed Strawberry. So at current, I have 2 perl programs, ActiveState and Strawberry. To use Strawberry, I need to remove ActiveState as it is the default of Perl. How could I keep both programs and set Strawberry as default in the classpath?
Asked
Active
Viewed 554 times
4
-
1. Put the bin directory for Strawberry Perl before the directories for ActiveState in your `PATH` environment variable, or 2. create an alias or batch file that invokes the perl version you want. e.g., so you can invoke your script as `asperl myscript.pl` or `sbperl myscript.pl` – mob Jul 23 '15 at 15:52
-
Thanks, cool to have different way to call each – user3922604 Jul 23 '15 at 22:42
1 Answers
2
- Right-click on "My Computer".
- Click on "Properties".
- Click on "Advanced system settings".
- Click on "Environment Variables...".
- Select "Path".
- Click on the nearest "Edit".
- Remove ActivePerl's
bin
directory from the "Variable value". - Add Strawberry Perl's
bin
directory to the "Variable value". - Click "OK".
You may need to reopen existing programs and consoles for them to see the change.
Or simply don't use the default and use the full path to perl.exe
.

ikegami
- 367,544
- 15
- 269
- 518