You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Vivek Khera <kh...@kciLink.com> on 2001/01/04 18:23:22 UTC

missing docs

In answering another question today, I noticed that the variable
$Apache::Registry::NameWithVirtualHost is not documented in the
perldoc for Apache::Registry.

While scanning the Registry.pm file, I further noticed that there is a
call to $r->get_server_name for the virtual host name.  This too is
not documented in perldoc Apache.  The only documented way I see to
get this from the $r object is to use $r->server->server_hostname.

Should $r->get_server_name() be documented, or is it a "private"
method?  It seems wasteful to create an Apache::Server object just to
fetch the virtual host name.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/