Hey gang,
When I actually execute the code in web browser (http://www.mydomain.com/test/tester), I get this in my apache error_log:

[Tue May 2 23:33:57 2006] v2.pm: Subroutine handler redefined at /home/me/public_html/confer//mypackage/tester.pm line 10.
<..repeats for each subroutine in the file..>

My httpd.conf section relating to mod_perl is thus:

PerlModule      Apache2::Reload
PerlInitHandler Apache2::Reload
PerlSetVar      ReloadAll Off
PerlRequire     /home/me/public_html/confer/startup.pl
<Location /confer/tester>
        SetHandler              perl-script
        PerlResponseHandler     mypackage::tester
</Location>

Should I be doing "PerlModule mypackage::tester" above the <Location> section? Or doing "use mypackage::tester" inside startup.pl?

I read something on google that says I should be using Apache::Symbol but I didn't see a mod_perl2 version of that.

Thanks in advance,
Matthew

Reply via email to