Re: perl -c fails with FilterSnoop example in docs

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, Feb 22, 2011 at 3:32 PM, Mark Hedges <[email protected]> wrote:
> I copied this useful debugging filter at
> http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter
>
> It works fine, but I can't `perl -c` :

Yes, the modules that are built to run in the context of Apache HTTPD
mostly will not run from the command-line.  They are missing the
environment they expect.  To test them, you need to run them through
mod_perl.  See Apache::Test.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.