Re: Subclassing Apache::AuthDBI

2009-12-08 Thread Tosh Cooey
I'm enjoying talking to myself here all month! So the solution to my problem below... Yay to MidLifeXis on PerlMonks for pointing out the problem. When MyAuthDBI::authen is called then PERL looks to that specific object for the function rather than traversing up the parent tree. MyAuthDBI->a

Subclassing Apache::AuthDBI

2009-12-06 Thread Tosh Cooey
I'm trying to subclass Apache::AuthDBI by doing: package MyAuthDBI; use base "Apache::AuthDBI"; 1; Then in apache.conf PerlModule MyAuthDBI AuthType Basic PerlAuthenHandler MyAuthDBI::authen ... I'm getting the following error: ...failed to resolve handler `MyAuthDBI::authen': Can't l