Re: SetHandlers question, Phase II

2008-10-15 Thread Torsten Foertsch
On Wed 15 Oct 2008, André Warnier wrote: > > I think you're wanting: > > > >      $r->set_handlers(PerlFixupHandler => sub > > {$_[0]->handler('modperl')}); > > Yes.  That works. Better to return something sane from the handler: sub {$_[0]->handler('modperl');0} # 0==Apache2::Const::OK Also co

Re: SetHandlers question, Phase II

2008-10-15 Thread André Warnier
Thanks. Duh. Clinton Gormley wrote: $r->set_handlers(PerlFixupHandler => \{$_[0]->handler('modperl')});  The funny thing is, the way I understand that code above is to mean : "take a reference to the piece of code between the curly brackets, and pass that code reference as the 2d argume

Re: SetHandlers question, Phase II

2008-10-15 Thread Clinton Gormley
> $r->set_handlers(PerlFixupHandler => \{$_[0]->handler('modperl')});  > The funny thing is, the way I understand that code above is to mean : > "take a reference to the piece of code between the curly brackets, and > pass that code reference as the 2d argument to $r->set_handlers()". > But

SetHandlers question, Phase II

2008-10-15 Thread André Warnier
Help ! (please) To make a long story short, I created an Apache/mod_perl module for AAA, which after major help from Torsten Foertsch now works fine... on one system, but not on another relatively similar one. The module is called AUTH::StarLogCookie. the critical line is line 419 of the mo