Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I run two versions of Perl on the same Windows box?

Status
Not open for further replies.

Ru55ell

IS-IT--Management
Mar 13, 2003
137
0
0
US
Im developing a socket program that requires the Perl version to be older than the one on the box. Can I run two different versions of Perl on the same box?

The Socket.PM requires I use 5.000 and I am using v5.6.1 on the box.
 
You can have more than one version installed, but make sure you run your Perl scripts with the version of Perl you wanted to run them with... i.e.

Code:
Run with 5.0:
>C:/Perl-5-0/bin/perl.exe myscript.pl

Run with 5.6.1
>C:/Perl-5-6/bin/perl.exe myscript.pl

assuming those are the paths you installed the different Perl versions to.

-------------
Kirsle.net | Kirsle's Programs and Projects
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top