Catman...ttp_uri(3pm)
π NAME π
okay bestie, gather round, because this one is short and sweet and I need you to know it: Catmandu::Fix::Condition::is_http_uri β it's a condition that checks whether a field actually contains an HTTP URI. that's the whole gig. she's a vibe check for URLs and she's iconic for it π¦
this lil angel lives in the Catman...ttp_uri(3pm) man page, under User Contributed Perl Documentation, so you already know it's a community-crafted gem β¨
πΈ SYNOPSIS πΈ
here's the energy, fr fr β you drop her into a fix and she splits the room into the ones who pass and the ones who don't:
if is_http_uri(uri_field)
...
else
...
end
like. the way that uri_field either IS an HTTP URI or is Not, and the fix just branches accordingly π it's giving main character energy and honestly? obsessed π
π SEE ALSO π
Catmandu::Fixβ the whole Fix ecosystem, the mothership, the blueprint, the reason any of this works π go read her, iykyk
and that's the entire page, bestie, no cap. go forth and conditionally check your URIs π«Ά
this page ships as part of the User Contributed Perl Documentation, perl v5.36.0, dated 2023-02-09 β mwah, slay, periodt π
π
π¦ 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