Jeff AA wrote:
>>Try per load the class my::class via startup.pl or PerlModule
>>
>
> I already had PerlModule my::classes in httpd.conf
> Tried PerlRequire as well - still the same error
the steps are outlined pretty well in recipe 10.3 (since you mentioned the cookbook
earlier). from the looks of your error message in your earlier post, I'd say you
forgot
to prototype your handler, since mod_perl was adding the ::handler stuff to your
PerlHandler argument. you might want to make sure you built with EVERYTHING=1 as
well,
since I'm not sure what mod_perl does if built with PERL_METHOD_HANDLERS=0 (check
perl-status?hooks for PerlMethodHandlers to be sure).
however there could also be other things amiss, like the package name doesn't match
what
you have in your PerlHandler line or whatnot. if I were you, I'd follow all the
normal
method handler steps in 10.3 but create a functional handler instead to make sure
there
aren't any typos in there or anything. in other words, get
sub mymethod { my $r = shift; ... }
to work first. then, just change the prototype and recover ($self, $r) as a second
step.
I know this may not be much help, but the basic steps are pretty much the same and are
very simple - it's probably something little and unseen that is tripping you up.
HTH
--Geoff