Apache-Handlers
view release on metacpan or search on metacpan
LOG {
if($authentication_ran) {
# log something special
}
};
Errors
If code causes an error (such that an eval would set $@), then the
request will throw a SERVER_ERROR and write $@ to either STDERR (if not
in mod_perl and there is no "die" handler, such as the Error module) or
to the Apache error log with a log level of debug.
"Use"ing modules
Any of the block constructs or attributes provided by this module that
are used in the body of a module that is brought in via the "use"
keyword will be considered to take place before the child is spawned.
This means that any code designated to run during a particular phase
will be run at the appropriate time as if the module had been loaded
lib/Apache/Handlers.pm view on Meta::CPAN
LOG {
if($authentication_ran) {
# log something special
}
};
=head2 Errors
If code causes an error (such that an eval would set $@), then the request
will throw a SERVER_ERROR and write $@ to either STDERR (if not in mod_perl
and there is no C<die> handler, such as the L<Error|Error> module) or to
the Apache error log with a log level of debug.
=head2 C<Use>ing modules
Any of the block constructs or attributes provided by this module that are
used in the body of a module that is brought in via the C<use> keyword will
be considered to take place before the child is spawned. This means that
any code designated to run during a particular phase will be run at the
appropriate time as if the module had been loaded during the server
( run in 0.243 second using v1.01-cache-2.11-cpan-496ff517765 )