Courie...nkBody(3pm)
β¨ NAME β¨
okay bestie, this is Courier::Filter::Module::BlankBody(3pm). The name says it all: Courier::Filter::Module::BlankBody β a blank-body message filter module for the Courier::Filter framework. It came from the User Contributed Perl Documentation, and it is literally here to catch blank bodies. Periodt. π
πΈ SYNOPSIS πΈ
Like, here is how you bring it into the group chat:
use Courier::Filter::Module::BlankBody;
my $module = Courier::Filter::Module::BlankBody->new(
response => $response_text,
logger => $logger,
inverse => 0,
trusting => 0,
testing => 0,
debugging => 0
);
my $filter = Courier::Filter->new(
...
modules => [ $module ],
...
);
π¦ DESCRIPTION π¦
This class is a filter module class for use with Courier::Filter. It matches a message if its body is blank or consists only of whitespace, which is a frequent symptom of stupid spammers. the way that it just knows π
π οΈ Constructor π οΈ
The following constructor is provided:
new(%options): returnsCourier::Filter::Module::BlankBodyβ creates a new BlankBody filter module.%optionsis a list of key/value pairs representing any of the following options:responseβ A string that is to be returned literally as the match result in case of a match. Defaults to"Message body is blank".
- All options of the
Courier::Filter::Moduleconstructor are also supported. Please see"new" in Courier::Filter::Modulefor their descriptions.
π Instance methods π
See "Instance methods" in Courier::Filter::Module for a description of the provided instance methods.
π SEE ALSO π
Courier::Filter::Module, Courier::Filter::Overview.
For AVAILABILITY, SUPPORT, COPYRIGHT, and LICENSE information, see Courier::Filter::Overview.
π AUTHOR π
Julian Mehnle <julian@mehnle.net> π
and that's the whole thing, bestie π this page came from perl v5.34.0, dated 2022-10-21, for the Courier::Filter::Module::BlankBody(3pm) manual. mwah. β¨
π¦ where this page comes from
- debian bookworm: courier-filter-perl 0.200+ds-6 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- debian trixie: courier-filter-perl 0.200+ds-6 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms