Catman...e_orcid(3pm)
β¨ NAME β¨
okay bestie, gather round, because this one's a lil cutie from the User Contributed Perl Documentation, section 3pm π β it's Catmandu::Fix::Condition::is_live_orcid, and its whole entire job is: test if the ORCID can be resolved. that's it. that's the vibe. π
πΈ SYNOPSIS πΈ
she's a condition, so you drop her into a Fix like this, no cap:
if is_live_orcid(orcid)
...
else
...
end
so like, if the ORCID resolves β yay, do the first thing π«Ά β and if it doesn't, the else branch catches you. iconic behaviour honestly.
π¦ SEE ALSO π¦
Catmandu::Fixβ the mothership, the main character, the one you should go read next π
and that's the whole page, bestie!! short, sweet, does exactly one thing and does it well, we love a specialist π
this lil guide was brought to you by perl v5.36.0, dated 2023-02-09 β mwah, kisses, bye!! πβ¨
π¦ 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