|There's more than one way to do things|
still have a mysterious crashby jhanna (Scribe)
|on Dec 17, 2002 at 18:06 UTC||Need Help??|
jhanna has asked for the wisdom of the Perl Monks concerning the following question:
This is a follow up to node Mysterious script crash in win2k
I localized the last crash to this subroutine. d(34) printed 34 in the debug file, but the $m never appeared on the console, nor in the DEBUG log file (which is unbuffered), neither in the LOG file.
This means the program crashed inside localtime(), or doing a s/// regexp replace, or concatenating to a string ($m). The $_ parameter that was passed in was a string constant: 'local or whitelisted', and was called this way:
The setmaillog and isnotspam functions operated correctly and also affirm that $this is not corrupted.
Help! Something I'm doing is corrupting perl internally, and I don't know how to find that kind of bug!
P.S. Here's my perl's version:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 630 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 20:29:41 Oct 31 2001