Catman...id_issn(3pm)

✨ NAME ✨

okay so bestie, meet Catmandu::Fix::Condition::is_valid_issn β€” it's a condition that checks whether ISSN numbers are actually valid, no cap. πŸ’–

(it lives in the Catman...id_issn(3pm) page, iykyk β€” the terminal just couldn't fit the whole glow-up of a name. πŸŽ€)


🌸 SYNOPSIS 🌸

the vibe is literally just: if the ISSN is valid, do one thing, otherwise do the other thing. iconic branching behavior:

if is_valid_issn(issn_field)
  ...
else
  ...
end

issn_field is your placeholder for whatever field you're checking, and the ... bits are all yours to fill in. main character energy. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

  • Catmandu::Fix β€” the whole fix-y universe this little condition belongs to πŸ’œ

that's the whole page, short and sweet fr fr πŸ“

this was perl v5.36.0, dated 2023-02-09 β€” thanks for coming to my ted talk, mwah πŸ’…

πŸ“¦ where this page comes from