Messag...er::Key(3pm)
π Message::Passing::Filter::Key β the vibe check filter
okay bestie, so this is part of the Message::Passing family of Perl modules (it's a 3pm page, if the manual name wasn't obvious β¨). And honestly? It's giving bouncer at the club door. It looks at each message and decides: you, in. Or: you, out. πͺ
πΈ NAME πΈ
Message::Passing::Filter::Key β filter a subset of messages out. literally its whole job.
β¨ DESCRIPTION β¨
This filter just removes messages which do not have a key matching a certain value. That's it. That's the tea. β
No key, or key with the wrong value? Gone. Filtered. Not invited to the next stage. π
π ATTRIBUTES π
key π
The name of the key. You may use a " foo.bar " syntax to indicate variables below the top level of the hash β i.e. the example would look in $msg->{foo}->{bar}. π«§
(so yes bestie, nested hash spelunking is fully supported, we love a dot notation moment)
match π―
The value to match to determine if the message should be passed onto the next stage or filtered out. Match = you're in. No match = bye bestie π
match_type π§
The type of match to perform. Valid values are 'regex' or 'eq', and the latter is the default. So if you don't say anything, it's doing eq β no cap, that's the default behavior. π
β METHODS β
filter π΅οΈββοΈ
Does the actual filtering work. The main character of this module, fr fr. π
π«Ά SPONSORSHIP π«Ά
This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API β <http://www.surevoip.co.uk/support/wiki/api_documentation>
shoutout to the sponsors, iconic behavior honestly π
π AUTHOR, COPYRIGHT AND LICENSE π
See Message::Passing. (yes queen, it's inherited, go read the parent page π)
and that's the whole page bestie, no crumbs left. π this was perl v5.32.1, dated 2021-11-09, and the manual name is Message::Passing::Filter::Key(3pm) β slay, go filter some messages β¨π¦
π¦ where this page comes from
- debian bookworm: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- debian trixie: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu jammy: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu noble: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu resolute: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms