perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject svn commit: r123149 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod
Date Wed, 22 Dec 2004 23:17:39 GMT
Author: gozer
Date: Wed Dec 22 15:17:37 2004
New Revision: 123149

URL: http://svn.apache.org/viewcvs?view=rev&rev=123149
Log:
$r->hostname is now writable


Modified:
   perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod?view=diff&rev=123149&p1=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod&r1=123148&p2=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod&r2=123149
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod	(original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod	Wed Dec 22 15:17:37 2004
@@ -815,13 +815,21 @@
 Host, as set by full URI or Host:
 
   $hostname = $r->hostname();
+  $prev_hostname = $r->hostname($new_hostname);
 
 =over 4
 
 =item obj: C<$r>
 ( C<L<Apache::RequestRec object|docs::2.0::api::Apache::RequestRec>> )
 
+=item opt arg1: C<$new_hostname> ( string )
+
+new value
+
 =item ret: C<$hostname> ( string )
+
+the current hostname, or the previous value if the optionnal
+C<$new_hostname> argument was passed
 
 =item since: 1.99_12
 

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message