Mike Whitaker wrote:
[Mon Mar 14 12:25:24 2005] [error] [client 192.168.1.107] Can't locate object method "subprocess_env" via package "Apache::RequestRec" at Foo.pm line 22.

You need to load:

use Apache::RequestRec ();

See:
http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html#Command_Line_Lookups


Just to sanity check, I peeked at $f->r, and it does appear to be what it's supposed to:

- Apache::RequestRec=SCALAR(0x82de098)

but it doesn't seem to have a working the_request method, either!

Mon Mar 14 13:16:10 2005] [error] [client 192.168.1.107] Can't locate object method "the_request" via package "Apache::RequestRec" at Foo.pm line 22.\n

Same thing.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to