Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the following sections, we discuss the specifics of Perl's behavior under mod_perl.
Perl's core exit( ) function shouldn't be used in mod_perl code. Calling it causes the mod_perl process to exit, which defeats the purpose of using mod_perl. The Apache::exit( ) function should be used instead. Starting with Perl Version 5.6.0, mod_perl overrides exit( ) behind the scenes using CORE::GLOBAL::, a new magical package.