Courie...nkBody(3pm)

πŸ“¦
version 0.200 Β· 2 versions
, in debian bookworm, debian trixie

✨ 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): returns Courier::Filter::Module::BlankBody β€” creates a new BlankBody filter module.
    • %options is 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::Module constructor are also supported. Please see "new" in Courier::Filter::Module for 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