Catman...:reject(3pm)
πΈ NAME πΈ
okay so bestie, welcome to Catmandu::Fix::reject β she's a Perl module and her whole job is removing a record form the data. (yes "form", that's literally how the page spells it, the typo is canon, do not perceive me ππ
)
It's giving: you've got a pile of records and you're like "not this one, not today" and reject is the fix that handles it.
β¨ SYNOPSIS β¨
here's the vibe, copy-paste ready, zero notes taken away:
# Reject all items from from the output
reject()
# Reject all items with have an 'ignore_me' field
reject exists(ignore_me)
# Reject all items with have a 'ignore' field with value 'true'
reject all_match(ignore,true)
# Select all items
select()
# Select only those items that have an 'include_me' field
select exists(include_me)
# Select only those items that have an 'include' field with value 'true'
select all_match(include,true)
lowkey the whole thing is symmetrical: reject yeets the ones that match, select keeps only the ones that match, and the condition you hand them is the same kind of condition either way β exists(...) for "does this field even show up", all_match(field,value) for "does this field hold exactly this value". pick your fighter. π
ngl the comments in the synopsis are reproduced exactly as they live in the original, quirks and all β "from from" and "with have" are hers, I'm just the messenger π«Ά
π SEE ALSO π
Catmandu::Fixβ go say hi to the parent, that's where the rest of the fix family hangs out π¦
and that's the whole page, bestie, short and slay. this lil manual comes from Perl version v5.40.1, dated 2026-01-24, and it's filed under the user contributed Perl documentation for Catman...:reject(3pm). mwah, take care of her πβ¨
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms