Axel Huizinga wrote:
Hi,

Suddenly on of my mod_perl handlers is broken with the following error:

Can't locate object method "ip_get" via package "APR::SockAddr"

at line:
my $ip = $self->{r}->connection->remote_addr->ip_get;

(temporary replaced by  $ENV{'REMOTE_ADDR'} - now the handler works again)

I didn't change the code before the error appeared - can the configuration cause this behavior?

Missing:

use APR::SockAddr ();

somewhere ?

--
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to