docs::a...ilterRec(3)
π NAME π
okay so bestie, welcome to docs::a...ilterRec(3) β a User Contributed Perl Documentation page about Apache2::FilterRec, which is literally the Perl API for manipulating the Apache filter record. iconic behavior only π
β¨ Synopsis β¨
no cap, here's the starter pack π
use Apache2::Filter ();
use Apache2::FilterRec ();
my $frec = $filter->frec;
print "filter name is:", $frec->name;
πΈ Description πΈ
Apache2::FilterRec gives you access to the filter record structure β that's the whole vibe π¦
the Apache2::FilterRec object is retrieved by calling frec():
$frec = $filter->frec;
π API π
Apache2::FilterRec provides the following functions and/or methods, bestie:
β name β
the registered name for this filter, periodt π«
$name = $frec->name();
obj: $frec ( "Apache2::FilterRec object" )
ret: $name (string)
since: 2.0.00
mod_perl filters have four names, and yes we're listing them all π«Ά
modperl_request_outputmodperl_request_inputmodperl_connection_outputmodperl_connection_input
you can see the names of the non-mod_perl filters as well. by calling $filter->next->frec->name you can get the name of the next filter in the chain. iykyk π₯
Example:
let's print the name of the current and the filter that follows it:
use Apache2::Filter ();
use Apache2::FilterRec ();
for my $frec ($filter->frec, $filter->next->frec) {
print "Name: ", $frec->name;
}
π¦ See Also π¦
mod_perl 2.0 documentation. β literally the place to go next π
π Copyright π
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. β legal slay, no cap π
π Authors π
The mod_perl development team and numerous contributors. β the whole squad ate π
mwah π this page is perl v5.42.3, dated 2023-10-21, and it's literally docs::a...ilterRec(3). bye bestie π«Ά
π¦ where this page comes from
- nixos 26.05: mod_perl 2.0.13
- nixpkgs unstable: mod_perl 2.0.13
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms