Skip to content

Commit

Permalink
resolve #163 - add missing perldoc for ENV var methods
Browse files Browse the repository at this point in the history
  • Loading branch information
leejo committed Mar 1, 2015
1 parent cee9974 commit 035b28d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
- Remove dependency on constant - internal DEBUG, XHTML_DTD and EBCDIC
constants changes to $_DEBUG, $_XHTML_DTD, and $_EBCDIC

[ DOCUMENTATION ]
- Add missing documentation for env variable fetching routines (GH #163)

4.13 2014-12-18

[ RELEASE NOTES ]
Expand Down
35 changes: 25 additions & 10 deletions lib/CGI.pod
Original file line number Diff line number Diff line change
Expand Up @@ -3254,55 +3254,70 @@ path as well.
Returns either the remote host name or IP address.
if the former is unavailable.

=item B<remote_ident()>

Returns the name of the remote user (as returned by identd) or undef
if not set

=item B<remote_addr()>

Returns the remote host IP address, or
127.0.0.1 if the address is unavailable.

=item B<request_uri()>

Returns the interpreted pathname of the requested document or CGI
(relative to the document root). Or undef if not set.

=item B<script_name()>
Return the script name as a partial URL, for self-referring
scripts.

Return the script name as a partial URL, for self-referring scripts.

=item B<referer()>

Return the URL of the page the browser was viewing
prior to fetching your script. Not available for all
browsers.

=item B<auth_type ()>
=item B<auth_type()>

Return the authorization/verification method in use for this
script, if any.

=item B<server_name ()>
=item B<server_name()>

Returns the name of the server, usually the machine's host
name.

=item B<virtual_host ()>
=item B<virtual_host()>

When using virtual hosts, returns the name of the host that
the browser attempted to contact

=item B<server_port ()>
=item B<server_port()>

Return the port that the server is listening on.

=item B<virtual_port ()>
=item B<server_protocol()>

Returns the protocol and revision of the incoming request, or defaults
to HTTP/1.0 if this is not set

=item B<virtual_port()>

Like server_port() except that it takes virtual hosts into account.
Use this when running with virtual hosts.

=item B<server_software ()>
=item B<server_software()>

Returns the server software and version number.

=item B<remote_user ()>
=item B<remote_user()>

Return the authorization/verification name used for user
verification, if this script is protected.

=item B<user_name ()>
=item B<user_name()>

Attempt to obtain the remote user's name, using a variety of different
techniques. This only works with older browsers such as Mosaic.
Expand Down

0 comments on commit 035b28d

Please sign in to comment.