Hi, remote_ip() is the correct method name, if you are getting that error, I think it means you are using a version of mod_perl previous to 2.0.0.
You can always perldoc ModuleName. JJ On 10/23/06, Steve Duran <[EMAIL PROTECTED]> wrote:
It appears that perl.apache.org is down. I would like to get the IP address of the request, so I've tried the following: my $c = $r->connection(); my $ipAddr = $c->remote_ip(); I get the following error: Can't locate object method "remote_ip" via package "Apache2::Connection" Can anyone tell me what I'm missing? Thanks, Steve ************************************************************************************************** CONFIDENTALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information protected from disclosure by law. It is intended only for the use of the specified recipients. Any unauthorized review, use, disclosure, distribution or any action based on this material is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. **************************************************************************************************