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?

Reply via email to