Bug in documentation of Apache2::Connection
Reif Peter <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <4C88911CAACCF94B93A5E7D04768F1C531180171@ntex2010i.host.magwien.gv.at> |
IMHO there is a bug in the docs: http://perl.apache.org/docs/2.0/api/Apache2/Connection.html#C_get_remote_host_ $remote_host = $c->remote_host(); $remote_host = $c->remote_host($type); $remote_host = $c->remote_host($type, $dir_config); It should be get_remote_host() instead of remote_host() ! Another aspect is not clear, when the 2 parameter form is used, how is the type of lookup determined? From $type or from $dir_config? Is $type to be set to undefined to make $dir_config relevant?