Apache::module() is defined in Apache.xs. I'm (wild) guessing you are not
running under mod_perl or you have a broken install.

http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_
answers: "How can I tell whether mod_perl is running?".

ELB

---- snippet from Apache.xs ----
I32
module(sv, name)
    SV *sv
    SV *name

    CODE:
    if((*(SvEND(name) - 2) == '.') && (*(SvEND(name) - 1) == 'c'))
        RETVAL = find_linked_module(SvPVX(name)) ? 1 : 0;
    else
        RETVAL = (sv && perl_module_is_loaded(SvPVX(name)));

    OUTPUT:
    RETVAL
--------------------------------

--
Eric L. Brine  |  Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED]  |  Do you always hit the nail on the thumb?
ICQ# 4629314   |  An optimist thinks thorn bushes have roses.

Reply via email to