docs::a...ilterRec(3)

πŸ“¦ version 2.0.13, in nixos 26.05, nixpkgs unstable

πŸ’– 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_output
  • modperl_request_input
  • modperl_connection_output
  • modperl_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 πŸ’œ


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