Did more digging. The registry key that governs both my perl
distribution is under HKLM\SOFTWARE\perl

(default)    c:\perl
BinDir        c:\perl\bin\perl.exe
PERLDB     BEGIN  {require q<c:\perl\bin\PerlDB.pl> }

Looks like I will have to muck around with this to switch debuggers.
Not nice.

On Sun, 1 Sep 2002 13:43:39 -0400, [EMAIL PROTECTED] (Dave K) wrote:

>Chris,
>    I have Activestate Perl and perl from a cygwin distribution. I keep the
>seperate by the calling method. For cgi scripts that is the
>#!/path/to/the/perl/I_need
>from the command line
>/usr/bin/perl
>or
>F:/Perl/bin/perl
>The perl that accessed the debugger has it in it's @INC array as drieux
>pointed out, but other information is stored in the Windows registry for
>ActiveState (what exe to use to open what file extensions et al). I work
>with the 2 perls with a fair amount of success. You can, for instance, grab
>another file extension (say .aspl) and use it to identify ActiveState's
>perl.exe through file associations as the exe that should run files with the
>extension .aspl.
>HTH
>"Chris" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I am working with 2 perl distributions on Windows, ActiveState and
>> another 5.6.1 perl on the same computer. I am able to work with one or
>> the another except when debugging. Somehow, perl -d finds perldb.pl
>> when perldb.pl is not in the current folder and not in the system
>> path. The only perl environment variable I have is PERLDB_OPTS to
>> specify a port. The mix up components does not work well.
>>
>> My question is
>>
>> How did perl -d manage to find perldb.pl?
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to