Hi!

On Tue, Jan 07, 2003 at 11:20:25AM +0100, [EMAIL PROTECTED] wrote:

> From perldoc Apache::AuthCookie:
> 
> o authorize()
>     This will step through the "require" directives you've
>     given for protected documents and make sure the user
>     passes muster.  The "require valid-user" and "require
>     user joey-jojo" directives are handled for you.  You
>     can implement custom directives, such as "require
>     species hamster", by defining a method called
>     "species()" in your subclass, which will then be
>     called.  The method will be called as "$r->species($r,
>     $args)", where "$args" is everything on your "require"
>     line after the word "hamster".  The method
>     should return OK on success and FORBIDDEN on failure.

After reading this again, I wonder if there is an error in the doc.

Shouldn't this
     $args)", where "$args" is everything on your "require"
     line after the word "hamster".  The method
                          ^^^^^^^^^
be
     $args)", where "$args" is everything on your "require"
     line after the word "species".  The method
                         ^^^^^^^^^
?



-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to