perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hahnfeld <>
Subject Docs/User Guide: code sample incorrect in "Input and Output Filters"?
Date Tue, 07 Jun 2005 19:51:28 GMT
I was going through the filters documentation for mod_perl 2.0 here:

Under "All-in-one" filter, there's some source code for  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/ line 38.

Adding "use Apache2::Connection" to the top of the module solves the
problem.  Is the additional "use" line a requirement?


View raw message