Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 chilling in the Monastery: (6)
As of 2023-09-27 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?