stas 01/10/09 22:26:27 Modified: src/user/coding coding.pod Log: - the exact overriding of exit Revision Changes Path 1.2 +6 -2 modperl-docs/src/user/coding/coding.pod Index: coding.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/user/coding/coding.pod,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- coding.pod 2001/10/10 05:23:53 1.1 +++ coding.pod 2001/10/10 05:26:27 1.2 @@ -21,8 +21,12 @@ OK to continue using them. mod_perl worries to override the exit() function with its own version which stops the program flow, and performs all the necessary cleanups, but doesn't kill the server. This -is done by overriding: C<*CORE::GLOBAL::exit>, so if you mess up with -C<*CORE::GLOBAL::exit> yourself you better know what you are doing. +is done by overriding: + + *CORE::GLOBAL::exit = \&ModPerl::Util::exit; + +so if you mess up with C<*CORE::GLOBAL::exit> yourself you better know +what you are doing. You can still call C<CORE::exit> to kill the interpreter, again if you know what you are doing.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]