Catman..._orcid(3pm)

πŸ’– NAME πŸ’–

okay bestie, gather round 🫢 β€” this is Catmandu::Fix::Condition::is_valid_orcid, a lil condition from the Catmandu::Fix family (the manual page is filed under Catman..._orcid(3pm) because apparently even Perl docs get their names cropped for the thumbnail πŸ’€).

what does it do? it checks if a field looks like an ORCID. that's it. that's the whole job. and it ate. ✨


🌸 SYNOPSIS 🌸

here's the vibe, fr fr β€” you drop this into a Fix and it goes is this thing giving ORCID or not:

# Checks is a field looks like an ORCID
if is_valid_orcid(orcid)
  ...
else
  ...
end

so if orcid passes the vibe check, the ... branch runs πŸ‘‘ and if it doesn't, the else branch gets its moment instead. no cap. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

  • Catmandu::Fix β€” the main character this whole condition lives inside. go say hi. πŸ’œ

sign-off time, bestie πŸŽ€ β€” this page is from perl v5.36.0, dated 2023-02-09, and it's the Catman..._orcid(3pm) manual. slay, stay valid, and may your ORCIDs always parse πŸŒˆπŸ’–

πŸ“¦ where this page comes from