Re: die defaults
[email protected] (Joshua N Pritikin)
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 08, 2000 at 05:57:18PM -0500, [email protected] wrote: > >>>>> "JNP" == Joshua N Pritikin <[email protected]> writes: > JNP> Actually, turning errors into warnings is a *feature*. I've had > JNP> servers in production that start crashing and alert the user. > JNP> Then I go in with ProcessTop and, without restarting, work around > JNP> the problem. The user is impressed. > > there are different kinds of errors. missing/bad callback stuff is one > that should be handled early as you can test for that. i would think > someone who dynamically created a sub AFTER he creates a callback to > call it, deserves to fail at watcher creation time. Hey, this is perl. I don't want to assume anything. :-) > JNP> If your going to be an Event crash dummy, I might as well try to > JNP> inject foam into the walls. How does this look? Are lexical > JNP> warnings extensible? > > s/crash // ; > > is this 0.66? I'll take another snapshot by Friday at the latest. -- "May the best description of competition prevail." via, but not speaking for Deutsche Bank