NAME
Apache2::FilterRec - Perl API for manipulating the Apache filter record
SSyynnooppssiiss use Apache2::Filter ();use Apache2::FilterRec ();
my $frec = $filter->frec;
print "filter name is:", $frec->name;
DDeessccrriippttiioonn"Apache2::FilterRec" provides an access to the filter record structure.
The "Apache2::FilterRec" object is retrieved by calling "frec()":
$frec = $filter->frec;
AAPPII"Apache2::FilterRec" provides the following functions and/or methods:
""nnaammee"" The registered name for this filter$name = $frec->name();
obj: $frec ( "Apache2::FilterRec object" )
ret: $name (string)
since: 2.0.00 modperl filters have four names: modperlrequestoutput modperlrequestinput modperlconnectionoutput modperlconnectioninputYou can see the names of the non-modperl filters as well. By calling
"$filter->next->frec->name" you can get the name of the next filter in
the chain. 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;
} SSeeee AAllssoo modperl 2.0 documentation. CCooppyyrriigghhtt modperl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. AAuutthhoorrss The modperl development team and numerous contributors.perl va5p.a8c.h8emodperl-101.1~2::mod2p0e0r5l-120.-02.02::docs::api::Apache2::FilterRec(3)