![]() |
Home / Documentation / 2.0 / API / | ![]() |
||
![]() ![]() ![]() |
||||
ModPerl::Util - Helper mod_perl 2.0 Functions | ||||
![]() ![]() |
|
||
use ModPerl::Util; $callback = Apache::current_callback; ModPerl::Util::exit(); ModPerl::Util::untaint($) # secret API?
untaint
Untaint the variable, by turning its tainted bit off (used internally).
untaint($var);
Do not use this function unless you know what you are doing. To learn how to properly untaint variables refer to the perlsec manpage.
current_callback
Returns the currently running callback, like 'PerlResponseHandler'.
$callback = Apache::current_callback();
exit
Used internally to replace CORE::exit
and terminate the request,
not the current process.
ModPerl::Util::exit($status);
$status
(integer)
The exit status, similar to CORE::exit
. If not passed, the default
value of 0 is used.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
![]() |
![]() ![]() ![]() |