in reply to Interpreter crashes on script exit

(?{...}) is still quite buggy. If you're using an older version of Perl you could try upgrading to 5.8.4 and see if the problem goes away. Other than that, avoid creating anonmous subs within them, and and avoid lexical vars within them if possible. Some common things that can cause crashes on code exit:

freeing a deeply nested structure, such as [ 1, [ 2, [ 3, .... ]]]
a DESTROY method that kicks off some sort of recursion, especially regexp recursion
anything involving multiple threads

Replies are listed 'Best First'.
Re: Re: Interpreter crashes on script exit
by ColonelPanic (Friar) on May 11, 2004 at 18:32 UTC
    Thanks for the info. I am using ActivePerl 5.8.3 on Windows, which is their latest. I am not using any embedded code within the regexes, except for some recursive (??{$foo}) type things with a single variable.

    I don't have multiple threads or any OO code, but I do have nested arrays that go 4 or 5 levels deep. I'll take a look at that portion of the code.


    When's the last time you used duct tape on a duct? --Larry Wall