perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <>
Subject Apache::RequestRec typo
Date Wed, 31 May 2006 20:03:23 GMT

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


which gives the expected behavior


The description is a bit awkward.

I'd suggest this


Example of setting the global request from the handler:

sub handler
	my 	$r= shift;
	my 	$apr= Apache2::Request->new( $r , DISABLE_UPLOADS=>1 ,  
POST_MAX=>10_000 );

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message