Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Using Multiple Versions of ActivePerl

by jmcnamara (Monsignor)
on Dec 02, 2002 at 09:58 UTC ( #216872=note: print w/replies, xml ) Need Help??


in reply to Using Multiple Versions of ActivePerl, or I Want to Use ActivePerl 5.8.0 But Not Break My ActivePerl 5.6.0


I also use several versions of ActivePerl for testing purposes.

They are in installed in directories like this, where the \d\d\d is the ActivePerl version number:

C:\Perl522 C:\Perl633 C:\Perl802

The default version that I test with is ActivePerl 522 (5.005_03 ). To change between versions I do something like this:     SET PATH=C:\PERL802\BIN;"%PATH%"

--
John.

Replies are listed 'Best First'.
Re: Re: Using Multiple Versions of ActivePerl
by simonflk (Pilgrim) on Dec 03, 2002 at 13:57 UTC

    I've done that as well, but if you keep reuse the same shell for a while, switching backwards and forwards, you can run reach the limit of what the shell will allow. And if you compile perl yourself, the paths can be quite long with the default options. I've set up a couple of batch files to call whatever perl I want:

    :: perl580.bat @echo off d:\dev\perl\5.8.0\bin\MSWin32-x86-multi-thread\perl5.8.0 %*
    > perl561 foo.pl # runs perl5.6.1 > perl580 foo.pl # runs perl5.8.0

    I have similar batch files set up for perldoc et al.

    -- simonflk

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://216872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2023-02-03 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?