Hello All,
I am having a problem with my script causing the interpreter to crash (as in causing a windows error message box) when it exits. This is after all of my code is executed, so apparently it is during the garbage collection or some other cleanup.
I am using some regexes that refer to each other recursively with the experimental
(??{}) construct within
qr// strings, so my first thought was that this might be causing a circular reference problem of some sort for garbage collection. However, it makes no difference if I
undef all of these myself.
Unfortunately, my script is quite long, so I'm not certain where to look. The error started appearing when I added a large segment of code that includes the aforementioned regexes, as well as several recursive functions.
Does anyone have any general insight on what sort of thing would cause a crash like this? Is there a possibility that there is some sort of case with recursion that could cause garbage collection problems? Are the experimental regex features just living up to their name?
Update: Running in the debugger does not shed any light on the situation. In fact, the crash still happens, but when I exit the debugger.
Thanks in advance,
ColonelPanic
When's the last time you used duct tape on a duct? --Larry Wall