The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache::DummyScoreboard - Perl interface to the Apache scoreboard structure outside mod_perl

DESCRIPTION

when loading Apache::Scoreboard, Apache::DummyScoreboard is used internally if the code is not running under mod_perl. It has almost the same functionality with some limitations. See the Apache::Scoreboard manpage for more info.

You shouldn't be using this module directly.

Limitations

  • image

    This method can't be used when not running under Apache/mod_perl. Use Apache::Scoreboard->fetch instead.

  • Apache::Const::SERVER_LIMIT and Apache::Const::THREAD_LIMIT

    At the moment the deprecated constants Apache::Const::SERVER_LIMIT and Apache::Const::THREAD_LIMIT are hardwired to 0, since the methods that provide this information are only accessible via a running Apache (i.e. via Apache::Scoreboad running under mod_perl). However, you should be using $image-server_limit|Apache::Scoreboard/C_server_limit_> and $image-thread_limit|Apache::Scoreboard/C_thread_limit_>.