On Tue, 9 Oct 2001, Stas Bekman wrote:
 
> Is there a way to freeze *CORE::GLOBAL::exit, once you set it?

no.

> Otherwise  some code can set it to a different value and wreck havoc in
> the whole system.

then they get what they deserve.

> I'm thinking of some modern registry script as an example. 

such as?

> Or should we still use the 1.x method where it's a feature that should 
> be used if desired and not working automagically. People will expect 
> exit() == CORE::exit() unless they are under registry.

nobody should ever call CORE::exit() under modperl.
nobody should ever call CORE::exit() from a module.
the CORE::GLOBAL::exit hook is just protection from those mistakes.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to