in reply to Re^2: exporting subroutine in mod_perl
in thread exporting subroutine in mod_perl

That will reload your code if you modify the file, calling the export again. There's more more information in the mod_perl docs.

Replies are listed 'Best First'.
Re^4: exporting subroutine in mod_perl
by BarMeister (Beadle) on Mar 30, 2006 at 19:21 UTC
    Ok I realized why I was getting these warnings...

    I was getting them every time I doing a request to the server. Then I remembered that I was running apache with multiple servers....so instead I restarted it as ./httpd -X and now I just get that warning on the first request and not subsequent requests...basically first request per child I got it.

    However, I would still like to fix it so that I never get this warning. Is the only way to remove it to load the module at server startup?

    Thanks for the help