Re: Acess current request using static method

2009-01-08 Thread Michael Ludwig
Mark Hedges schrieb: On Wed, 7 Jan 2009, Michael Ludwig wrote: In 2.0, is there a way to access the current request object using one of the classes in the following fashion? my $r = Apache2::RequestRec->current(); # INVALID! From `man Apache2::RequestUtil`: # get the global request obje

Re: Acess current request using static method

2009-01-07 Thread Philip M. Gollucci
sub list : method { my $class = shift; my $r = shift; my $req = APR::Request::Apache2->handle($r); OR sub list { my $r = shift; my $req = APR::Request::Apache2->handle($r); -- 1024D/DB9B8C1C B90B FB

Re: Acess current request using static method

2009-01-07 Thread Mark Hedges
On Wed, 7 Jan 2009, Michael Ludwig wrote: > In 2.0, is there a way to access the current request object using one of > the classes in the following fashion? > > my $r = Apache2::RequestRec->current(); # INVALID! > >From `man Apache2::RequestUtil`: # get the global request object (requires Pe