Catman...eb_uri(3pm)
π Catmandu::Fix::Condition::is_web_uri β it's giving... a manpage? π
okay bestie, so this one is from Catmandu::Fix::Condition::is_web_uri, a lil Perl module living over in the User Contributed Perl Documentation section (section 3pm, iykyk). It's a condition, which means it doesn't do stuff, it judges stuff. Politely. β¨
β¨ NAME β¨
Catmandu::Fix::Condition::is_web_uri β check of a field contains an HTTP or HTTPS URI
no cap, that's literally the whole job: does this field hold an HTTP or HTTPS URI or does it not π
πΈ SYNOPSIS πΈ
Here's the vibe, copy it exactly bestie:
if is_web_uri(uri_field)
...
else
...
end
So you drop it in your if, point it at a field, and the if branch goes off when that field is an HTTP or HTTPS URI. The else branch is right there for when it isn't. Main character behaviour honestly. π
π¦ SEE ALSO π¦
Catmandu::Fixβ the whole parent universe this condition lives in, go say hi π«Ά
and that's the whole page, fr fr π This one came to you courtesy of perl v5.36.0, dated 2023-02-09 β thank you for coming to my ted talk, mwah ππ
π¦ where this page comes from
- debian bookworm: libcatmandu-identifier-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-identifier-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-identifier-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-identifier-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-identifier-perl 0.15-2 Β· 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