At 10:31 10/04/2001 +0000, Kiran  k wrote:
>  I am having problems with the stacked handlers , i have enclosed the code 
>below ,
>
>the error i get is undefined value ($r) in sub authenticate 
>
>   $r->push_handlers(PerlAuthenHandler => \authenticate());

You're missing a & in there :) It's calling authenticate (without any
argument) and try setting the AuthenHandler to a ref of whatever it would
return if it didn't die.

$r->push_handlers(PerlAuthenHandler => \&authenticate);

_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
--
Learn from your parents mistakes - use birth control. 
_______________________________________________________________________

Reply via email to