FAQ

Scott Penrose wrote:
On 05/07/2006, at 5:47, Stas Bekman wrote:

http://perl.apache.org/docs/2.0/user/handlers/
filters.html#HTTP_Request_vs__Connection_Filters

OK Some very weird and interesting problems here. I think they are
bugs, but I am not certain.

Firstly - if you write the code... (straight from the example in the
POD and URL above)

package MyApache2::FilterRequestFoo;
use base qw(Apache2::Filter);
sub output : FilterRequestHandler {
my ($f, $bb) = @_;
}
1;

You get this:
~/tmp$ perl -c test.pm
Invalid CODE attribute: FilterRequestHandler at test.pm line 4
BEGIN failed--compilation aborted at test.pm line 6.
You can't test mod_perl modules from the command line, Scott. Only running
under a mod_perl interpreter.


--
_____________________________________________________________
Stas Bekman mailto:stas@stason.org http://stason.org/
MailChannels: Reliable Email Delivery http://mailchannels.com
The "Practical mod_perl" book http://modperlbook.org/
http://www.linkedin.com/in/stasbekman http://perl.apache.org/
http://stason.org/photos/gallery/ [* best photos here *]

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 9 of 16 | next ›
Discussion Overview
groupmodperl @
categoriesmodperl, perl
postedJun 19, '06 at 1:34a
activeAug 8, '06 at 4:12a
posts16
users3
websiteperl.apache.org

People

Translate

site design / logo © 2017 Grokbase