> use Apache::Constants qw(:common);

> 
> [Thu Jul 01 13:38:30 2004] [error] [client 127.0.0.1] Usage:
> Apache::RequestRec::notes(obj, val=NULL) at
> /home/darnold/modperl/Apache/AuthAnon.pm line 33.\n

your script was written for mod_perl 1.0, but you seem to be using mod_perl
2.0 for your server.  there will be a few things you will need to change to
get your handler running properly.  see the porting documentation at
perl.apache.org.

> 
> If I comment this line of code:
> 
> #    $r->notes(AuthAnonPassword=>$sent_pwd);
> 
> Then I get this in my error_log:
> 
> /darnold/modperl/Apache/AuthAnon.pm line 33.\n
> [Thu Jul 01 13:55:30 2004] [error] [client 127.0.0.1] Undefined subroutine
> &Apache::AuthAnon::handler called.\n

this simply means that your code did not compile cleanly, so the handler()
subroutine never got defined in the Apache::AuthAnon namespace.

HTH

--Geoff

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to