Re: Can't locate object method "get_brigade" via package "Apache::Filter"

[prev] [thread] [next] [Date index for 2004/12/16]

From: Stas Bekman
Subject: Re: Can't locate object method "get_brigade" via package "Apache::Filter"
Date: 21:31 on 16 Dec 2004
Vadim wrote:
>>Vadim wrote:
>>
>>>from error_log
>>>----------------
>>>[Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52
>>>OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal
>>>operations
>>>[Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object
>>>method "get_brigade" via package "Apache::Filter"
>>>at /usr/local/apache2/cgi-bin/modules//MyApache/MyProxy.pm line 100.\n
>>>----------------
>>>
>>>why?
>>
>>Vadim, when you post a question next time please consider giving us some
>>more context. Put yourself in our position and think what information
>>could be useful to help us to help you. For example in this particular
>>case, we probably need to see the relevant parts of the failing code.
>>
>>My guess is that you didn't load Apache::Filter:
> 
> Yes! you are absolutly right! 
> but i took code from
> http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter
> and in that example there is no "use Apache::Filter" command. So it bepuzzle 
> me.
> Thanks!!!

That's a doc bug, now fixed.

URL: http://svn.apache.org/viewcvs?view=rev&rev=122585
Log:
add missing: use Apache::Filter ();

Modified:
    perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod
Url: 
http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod?view=diff&rev=122585&p1=perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod&r1=122584&p2=perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod&r2=122585
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod	(original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod	Thu Dec 
16 13:27:55 2004
@@ -1118,6 +1118,7 @@

    use Apache::RequestRec ();
    use Apache::RequestIO ();
+  use Apache::Filter ();
    use APR::Brigade ();
    use APR::Bucket ();



        -- 
        __________________________________________________________________
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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Can't locate object method "get_brigade" via package "Apache::Filter"
Stas Bekman 21:31 on 16 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52