Package Info

perl-Apache-Filter


Alter the output of previous handlers


Development/Libraries/Perl

In basic operation, each of the handlers Filter1, Filter2, and Filter3 will make a call to $r->filter_input(), which will return a filehandle. For Filter1, the filehandle points to the requested file. For Filter2, the filehandle contains whatever Filter1 wrote to STDOUT. For Filter3, it contains whatever Filter3 wrote to STDOUT. The output of Filter3 goes directly to the browser.

Note that the modules Filter1, Filter2, and Filter3 are listed in forward order, in contrast to the reverse-order listing of Apache::OutputChain.

When you've got this module, you can use the same handler both as a stand-alone handler, and as an element in a chain. Just make sure that whenever you're chaining, all the handlers in the chain are "Filter- aware," i.e. they each call $r->filter_register() exactly once, before they start printing to STDOUT. There should be almost no overhead for doing this when there's only one element in the chain.


License: Artistic-1.0
URL: http://cpan.org/modules/by-module/Apache/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.024-bp155.2.10 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter
1.024-bp154.1.24 info GA Release 2022-05-12 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter
1.024-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter
1.024-bp152.3.15 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter
1.024-bp151.3.2 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter
1.024-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Apache-Filter