You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by as...@hyperreal.org on 1998/10/15 10:26:22 UTC
cvs commit: modperl/Apache Apache.pm
ask 98/10/15 01:26:22
Modified: Apache Apache.pm
Log:
Added documentation about the Apache::Tie stuff
Revision Changes Path
1.20 +24 -0 modperl/Apache/Apache.pm
Index: Apache.pm
===================================================================
RCS file: /home/cvs/modperl/Apache/Apache.pm,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Apache.pm 1998/09/28 18:04:20 1.19
+++ Apache.pm 1998/10/15 08:26:21 1.20
@@ -395,6 +395,10 @@
the $r->header_in() method (described below) to retrieve a specific
header value directly.
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. This requires I<Apache::Tie>.
+
=item $r->header_in( $header_name, [$value] )
Return the value of a client header. Can be used like this:
@@ -554,6 +558,10 @@
my $val = $r->dir_config('Key');
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. See I<Apache::Tie>.
+
=item $r->requires
Returns an array reference of hash references, containing information
@@ -700,6 +708,10 @@
$r->notes("MY_HANDLER", OK);
$val = $r->notes("MY_HANDLER");
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. This requires I<Apache::Tie>.
+
=item $r->subprocess_env( $key, [$value] )
Return the value of a named entry in the Apache C<subprocess_env>
@@ -720,6 +732,10 @@
Sorry
<!--#endif -->
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. This requires I<Apache::Tie>.
+
=item $r->content_type( [$newval] )
Get or set the content type being sent to the client. Content types
@@ -761,6 +777,10 @@
the $r->header_out() method (described below) to retrieve or set a specific
header value directly.
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. This requires I<Apache::Tie>.
+
=item $r->header_out( $header, $value )
Change the value of a response header, or create a new one. You
@@ -780,6 +800,10 @@
The difference between headers_out and err_headers_out is that the
latter are printed even on error, and persist across internal redirects
(so the headers printed for ErrorDocument handlers will have them).
+
+Will return a I<HASH> reference blessed into the
+I<Apache::TieHashTable> class when called in a scalar context with no
+"key" argument. This requires I<Apache::Tie>.
=item $r->err_header_out( $header, [$value] )