You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Kamil <ka...@666.afraid.org> on 2003/03/11 00:55:29 UTC

Re[2]: [mp2] What happened to $r->connection->remote_addr?

SB> 1.99_05 is one 7 months old. Please test it again with the released 1.99_08 or
SB> even better with the current cvs:
SB> http://perl.apache.org/download/source.html#2_0_Development_Source_Distribution

SB> As for missing methods reports, see:
SB> http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html
SB> e.g. you need to load 'Apache::Connection' to get remote_addr

I've tried to test ModPerl::MethodLookup, but cannot find this module.
Where can i find it ? Sorry if lame, its my first steps with mp2.

%perl -MApache2 -MModPerl::MethodLookup -le 'print((ModPerl::MethodLookup::lookup_method(shift))[0])' construct_url
Can't locate ModPerl/MethodLookup.pm in @INC (@INC contains: /usr/local/perl/lib/site_perl/5.8.0/i586-linux/Apache2
/usr/local/perl/lib/5.8.0/i586-linux /usr/local/perl/lib/5.8.0
/usr/local/perl/lib/site_perl/5.8.0/i586-linux /usr/local/perl/lib/site_perl/5.8.0 /usr/local/perl/lib/site_perl .).
BEGIN failed--compilation aborted.

%/usr/local/perl/lib/site_perl/5.8.0/i586-linux/ModPerl# ls
BuildOptions.pm  FunctionMap.pm  MapUtil.pm      RegistryBB.pm      TestRun.pm
Code.pm          Global.pm       ParseSource.pm  RegistryCooker.pm  TypeMap.pm
Config.pm        MM.pm           PerlRun.pm      RegistryLoader.pm  Util.pm
Const.pm         Manifest.pm     Registry.pm     StructureMap.pm    WrapXS.pm

I've tested it with mod_perl/1.99_08 (standard instalation), apache 2.0.44, perl 5.8.0.


--
Pozdrawiam, Kamil.