Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Steve Baldwin
Thanks for that. Yes, it would appear that the versions of apache2 and mod_perl 'bundled' with Ubuntu 13.10 are not exactly in sync and the version of mod_perl (which is the latest on CPAN afaict) has not yet caught up with apache 2.4. I guess the Apache2::xxx modules are 'wafer thin' layers over

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Jeff Trawick
On Sun, Feb 9, 2014 at 9:40 AM, Steve Hay wrote: > On 9 February 2014 05:49, Steve Baldwin wrote: > > Hi, > > > > Not sure what I'm doing wrong here. I'm just trying to get the client ip > > address in a PerlResponseHandler as follows: > > > > : > > use Apache2::Connection; > > : > > my $remo

Re: Is this something which would interest anyone?

2014-02-09 Thread Marius Gavrilescu
John Dunlap writes: > I just wanted to > ask if anyone would be interested in my releasing this module on CPAN? What are the differences between this module and Router::Simple [0]? As the basic idea is the same, it might be better to patch Router::Simple to include the features your module has a

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread Steve Hay
On 9 February 2014 05:49, Steve Baldwin wrote: > Hi, > > Not sure what I'm doing wrong here. I'm just trying to get the client ip > address in a PerlResponseHandler as follows: > > : > use Apache2::Connection; > : > my $remote_ip = $r->connection->remote_ip(); > : > > I get a runtime error as

Re: Problem with Apache2::Connection::remote_ip

2014-02-09 Thread André Warnier
Steve Baldwin wrote: Hi, Not sure what I'm doing wrong here. I'm just trying to get the client ip address in a PerlResponseHandler as follows: : use Apache2::Connection; : my $remote_ip = $r->connection->remote_ip(); : I get a runtime error as follows: [Sun Feb 09 16:44:22.499681 2014] [p