Rodney Broom wrote:
> From: Stas Bekman <[EMAIL PROTECTED]>
> 
> 
>>What happens if you do:
>>   $r->set_handlers('PerlAuthenHandler', 'Some::handler');
> 
>   Either of these:
>     $r->set_handlers('PerlAuthenHandler', 'Some::handler');
>     $r->set_handlers('PerlAuthenHandler', \&Some::handler);
> 
>   Yeild:
>     "Can't set_handler with that value..."
>     Which agrees with the Apache.pm docs.

Ah, sorry. I'm living in the future. in mod_perl 2.0 you can pass 
\@handlers or \&handler for both set_handlers() and push_handlers().

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Reply via email to