# test if an Apache module is loaded if (Apache2::Module::loaded('mod_perl.c')) { warn "mod_perl!"; } #### /* * If this fails some module forgot to call ap_reserve_module_slots*. */ ap_assert(total_modules < conf_vector_length);