stas 2003/03/11 16:17:39
Modified: src/docs/2.0/devel/porting porting.pod Log: the object is the second arg to method_lookup, not the first. Submitted by: Nick Tonkin Revision Changes Path 1.10 +1 -1 modperl-docs/src/docs/2.0/devel/porting/porting.pod Index: porting.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/porting/porting.pod,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- porting.pod 10 Mar 2003 00:17:17 -0000 1.9 +++ porting.pod 12 Mar 2003 00:17:39 -0000 1.10 @@ -160,7 +160,7 @@ expects an object of type C<Apache::RequestRec>, and C<Apache::Filter> of type C<Apache::Filter>. So if we call: - ModPerl::MethodLookup::lookup_method($r, 'print'); + ModPerl::MethodLookup::lookup_method('print', $r); only one module will be matched. This functionality can be used in C<L<AUTOLOAD|docs::2.0::api::ModPerl::MethodLookup/AUTOLOAD>>.