NAME

Dancer::Plugin::FakeCGI::Apache - emulation Apache.pm module

DESCRIPTION

Settings callback for emulation Apache.pm from mod_perl version 1.

SYNOPSIS

# Import fake Apache
require Apache;
Apache->import;

# Setting callbacks
Apache::_set_callback_func('read', \&_apache_read);
Apache::_set_callback_func('args', \&_apache_args);

METHODS

_set_callback_func

Set callback function for specified called method from mod_perl::Apache.pm

PARAMS 2

Name of called method
Callback function
1. How to call other method see in mod_perl/Apache.pm manual
2. For read function called callback function in this examples:
$string = $callback_func{'read'}($len, $offset);

AUTHOR

Igor Bujna igor.bujna@post.cz

ACKNOWLEDGEMENTS

See "ACKNOWLEDGEMENTS" in Dancer::Plugin::FakeCGI

SEE ALSO

Dancer::Plugin::FakeCGI