in reply to Re: debugger switch
in thread debugger switch

I run my program 'perl -d <program>' but would like to say 'turn off the debugger' before I invoke the module that doesn't like the debugger.

Replies are listed 'Best First'.
Re^3: debugger switch
by Jim (Curate) on Jul 22, 2011 at 18:42 UTC

    Try this:

        perl <program>

    The -d switch is invoking the debugger. No switch, no debugger.

    UPDATE: Read perlvar and pay particular attention to the built-in variables $DEBUGGING ($^D) and $PERLDB ($^P). (Sorry, I initially misread your question.)