in reply to Re^3: Perl stack issue
in thread Perl stack issue

Instead of fprintf, try Perl_warn(aTHX_ "PERL_INC_VERSION_LIST=%s\n", subdir);

Replies are listed 'Best First'.
Re^5: Perl stack issue
by BrowserUk (Patriarch) on Jun 07, 2011 at 08:42 UTC
    try Perl_warn(...

    I did. But have you ever looked at what lies behind that seemingly simple call? Debugging tools need to be simple and reliable, and Perl_warn() is neither.

    When the simple act of adding the trace statement to a routine can cause it to go belly up, and the only way to track down why involves /E and wading through megabytes of post-processed C code to work out what actual code gets run, sticking to printf() is infinitely preferable.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.