perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hahnfeld <ma...@everysoft.com>
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: 

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?

Thanks!
Matt


Mime
View raw message