in reply to Cohabit Perl 5.6 and 5.8

When you do the install you get a number of options. You will need to select a different install directory from 5.6, say c:\perl5-8 and you will not want to add the .pl file association. Nor do you want to add perl to your PATH. After you have finished you will need to make sure that your PATH includes the path to the 5.6 perl.exe but does not include the path to the 5.8 perl.exe. To run a development program with 5.6/5.8 you would then need to:

# run with 5.6 (or double click on) >perl my_prog.pl # run with 5.8 >c:\perl5-8\bin\perl.exe my_prog.pl # this should say 5.6 >perl -v # this should say 5.8 >c:\perl5-8\bin\perl.exe -v

If all else fails (due to overwriting registry info) you could install Indigo Perl to do 5.6 and AS Perl to do 5.8. As these are separate entities you should not get into too much trouble.

In a worst case you could install perl 5.8 in a virtual machine (Vmware) on the desktop. This is guaranteed to work.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re^2: Cohabit Perl 5.6 and 5.8
by particle (Vicar) on Dec 11, 2002 at 11:39 UTC

    also make sure your PERL5LIB environment variable is empty. otherwise your installed modules will not work, as 5.008 is requires module rebuilds.

    ~Particle *accelerates*

Re: Re: Cohabit Perl 5.6 and 5.8
by webelan (Acolyte) on Dec 14, 2002 at 09:12 UTC
    Good morning, Thank you all so much for your helpful suggestions.
    In accordance to Murphy's Law, the day after I posted this someone from the helpdesk came to install something and we got the famous 'blue screen' which MS loves to exhibit from time to time.
    When I left work Friday night, I had just been delivered a new, all singing all dancing locked down PC and on Monday morning I shall start trying to get my working environment back on line.
    Once that has been done, I shall follow your suggestions. I'm sure that with all the pointers you have given me, I should be able to get further down the line than previously.
    Sorry for now replying sooner,
    Anne