You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by go...@apache.org on 2004/12/23 00:17:39 UTC
svn commit: r123149 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache/RequestRec.pod
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