perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: $r->push_handlers('PerlAuthenHandler', 'Some::handler') doesn'twork
Date Mon, 02 Sep 2002 01:45:58 GMT
Rodney Broom wrote:
> From: Stas Bekman <stas@stason.org>
> 
> 
>>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:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Mime
View raw message