Loading ...
Sorry, an error occurred while loading the content.

Re: Docs/User Guide: code sample incorrect in "Input and Output Filters"?

Expand Messages
  • Philippe M. Chiasson
    ... Yes, it should have been. I ve corrected the documentation. Thanks! ... Philippe M. Chiasson m/gozer @(apache|cpan|ectoplasm) .org/ GPG KeyID : 88C3A5A5
    Message 1 of 2 , Jun 7, 2005
    • 0 Attachment
      Matt Hahnfeld wrote:
      > I was going through the filters documentation for mod_perl 2.0 here:
      >
      > http://perl.apache.org/docs/2.0/user/handlers/filters.html
      >
      > Under "All-in-one" filter, there's some source code for Dump.pm. Run
      > on my system under mod_perl 2.0.0 and Apache 2.0.54, it returns the
      > following error:
      >
      > Can't locate object method "bucket_alloc" via package
      > "Apache2::Connection" at /usr/local/lib/perl/5.8.4/Apache2/Dump.pm line 38.
      >
      > Adding "use Apache2::Connection" to the top of the module solves the
      > problem. Is the additional "use" line a requirement?

      Yes, it should have been. I've corrected the documentation.

      Thanks!

      --------------------------------------------------------------------------------
      Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
      http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
    Your message has been successfully submitted and would be delivered to recipients shortly.