First off...
>>>
The get-able part of this method is only available if PerlOptions
+GlobalRequest is in effect or if Apache2->request($new_r) was called
earlier. So instead of setting PerlOptions +GlobalRequest, one can
set the global request from within the handler.
<<<
Apache2->request($new_r) doesn't exist
Based on the docs above, i'm guessing this is a typo for
Apache2::RequestUtil->request($new_r)
which gives the expected behavior
Second..
The description is a bit awkward.
I'd suggest this
>>>
Example of setting the global request from the handler:
sub handler
{
my $r= shift;
Apache2::RequestUtil->request($r);
my $apr= Apache2::Request->new( $r , DISABLE_UPLOADS=>1 ,
POST_MAX=>10_000 );
<<<
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
>>>
The get-able part of this method is only available if PerlOptions
+GlobalRequest is in effect or if Apache2->request($new_r) was called
earlier. So instead of setting PerlOptions +GlobalRequest, one can
set the global request from within the handler.
<<<
Apache2->request($new_r) doesn't exist
Based on the docs above, i'm guessing this is a typo for
Apache2::RequestUtil->request($new_r)
which gives the expected behavior
Second..
The description is a bit awkward.
I'd suggest this
>>>
Example of setting the global request from the handler:
sub handler
{
my $r= shift;
Apache2::RequestUtil->request($r);
my $apr= Apache2::Request->new( $r , DISABLE_UPLOADS=>1 ,
POST_MAX=>10_000 );
<<<
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org