Greetings,
the standard (perl) environment (no fiddling) is as follows:
PERL5DB [unset]
PERLDB_OPTS=RemotePort=127.0.0.1:2000
this will start the IDE.
After fiddling:
PERL5DB=BEGIN {require 'perl5db.pl';}
PERLDB_OPTS [unset]
What makes (half of) the difference is PERLDB_OPTS: if it is
set, the GUI starts no matter what PERL5DB is set to...
<slaps loudly on forehead>: OK, so now I know. AS actually does two things:
- Hooks into the RemotePort option of perl5b.pl to direct
the debugger to the GUI but also....
- sets a registry key (HKLM\Software\perl\PERL5DB) to its own version of perldb (perl silently honors these keys as if they were environment variables).
- So restoring the original behavior one has to both unset PERLDBOPTS *and* PERL5DB
Quite tricky (perhaps too much so...).
Thanks for pointing in me in the right direction - now the smoke has cleared and the mirrors are broken :-)
Cheers,
alf
You can't have everything: where would you put it?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.