perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn <sweetwaterg...@googlemail.com>
Subject Re: PerlAuthenHandler
Date Thu, 01 Mar 2007 16:40:27 GMT
This, of course, is the solution. Thanks, both!

In case you wonder why I hadn't just copied a working handler and
started by changing that, I wonder too. Stubborn is my middle name, I
am afraid.

Martijn

On 3/1/07, Martin Moss <martin_moss@btopenworld.com> wrote:
> As I understand it...
>
> if you use this ->autologin   the first argument to
> your autologin subroutine will be a string
> 'MyRoot::Testing'
>
> if you use ::autologin  It won't be...
>
> Perhaps this might have something to do with it...
>
>
>
> I setup my subroutines like this:-
>
> ====http.conf
>
> PerlModule MyRoot::Testing
> PerlAuthenHandler MyRoot::Testing->autologin
>
> ===Testing.pm
>
> sub autologin : method
> {
>     my $class =shift;
>     my $r = shift;
>
> }

Mime
View raw message