Philippe M. Chiasson schrieb:

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 ?

Ok - thanks - works again.

Axel

Reply via email to