in reply to Strawberry Perl

Hi,

If I may add one word to davido's commet:
"..You will need to specify which Perl interpreter to use by either modifying your PATH.."
And that you can achieve in so many ways. Presently, I have both ActivePerl and Strawberry Perl installed and I switch between both using simple bat files to modify my PATH like so:

Replies are listed 'Best First'.
Re^2: Strawberry Perl
by Anonymous Monk on Jul 30, 2012 at 21:24 UTC

    Sorry for the delay. This is wonderful. Please let me know which of the following Starwberry batch files needed to include the said code.

    rem Add Strawberry Perl to path path C:\strawberry\perl\bin;%path% rem clear the screen cls

    cpanp-run-perl.bat

    perlbug.bat

    perldoc.bat

    perlglob.bat

    perlivp.bat

    perlthanks.bat

    I am assuming that I need to include the code in 'cpanp-run-perl.bat', also do I need to add the code at the end of the file. Please help.

      You don't need to include any of the Strawberry Perl bat file, just the path to your Strawberry Perl installation.
      You will have to create the batch file yourself.
      Open a text editor like notepad, then write like so:

      rem Add Strawberry Perl to path path C:\strawberry\perl\bin;%path% rem clear the screen cls
      Then save the files as any name with the extention.bat. You might have to change your "save as type" from ".txt" to "All files (*.*)". So, that you don't end up with ".txt" extention.
      Also, take note that the path in the above bat file, might be different from yours. Please, change accordingly.
      Hope this helps!

        I could able to switch back and forth, Active and Strawberry. Thank you so much for your time, 2teez.