Adym:

        In Win2k Windows Explorer, you can right click on a file and select
the menu "Open With >".  This sub menu with programs you have opened the
file with before.  If you "Choose Program...", and then go find
perl5.6.1.exe and perl5.8.0.exe, you will be able to right-click and run a
script from Win Explorer using whichever of the two you choose, without
switching environments (or at least having environment setup be in the
differently named wrapper.bat scripts for the interpreter).

HTH,

:Tariq
  
-----Original Message-----
From: Jenda Krynicky [mailto:Jenda@;Krynicky.cz]
Sent: Thursday, October 17, 2002 6:54 AM
To: [EMAIL PROTECTED]
Subject: RE: Perl 5.8...Multiple versions...


From:                   "Adym Lincoln" <[EMAIL PROTECTED]>
> I now have two versions or Perl...
> C:\Programs\Perl
> C:\Programs\Perl-5.8.0
> 
> My next question is more of a search on advice then a question.  Now
> that I have multiple versions of Perl running on my Win 2K machine
> (something I've never done), What's the simplest way to manage
> these...
> 
> 1.) Setup BAT files that switch the PATH variable so that one version
> of Perl gets precedence before another. 2.) Setup Perl scripts that
> switch the PATH variable. 3.) Have the Perl scripts call the specific
> version of Perl you want to execute. 4.) Neither, your screwed...but
> good luck anyway.

I'd use 1).

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to