Re: Getting %ENV into a filter

[prev] [thread] [next] [Date index for 2005/03/14]

From: Stas Bekman
Subject: Re: Getting %ENV into a filter
Date: 13:25 on 14 Mar 2005
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:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Getting %ENV into a filter
Mike Whitaker 12:40 on 14 Mar 2005

Re: Getting %ENV into a filter
Mike Whitaker 13:19 on 14 Mar 2005

Re: Getting %ENV into a filter
Stas Bekman 13:25 on 14 Mar 2005

Generated at 16:59 on 18 Mar 2005 by mariachi v0.52