Catman...id_isbn(3pm)
π Catman...id_isbn(3pm) π
User Contributed Perl Documentation β yes bestie, that's the manual name, we're in the Perl docs section and it's giving very much "small page, big energy" β¨
πΈ NAME πΈ
Catmandu::Fix::Condition::is_valid_isbn β it's a condition, and what it conditions on is whether your ISBN numbers are actually valid π
Like, that's the whole job. It checks the vibe of an ISBN and tells you if it's a real one or not. Slay. π
π¦ SYNOPSIS π¦
Okay so here's how you actually use it, in all its if / else / end glory:
if is_valid_isbn(isbn_field)
...
else
...
end
So you pop isbn_field in there, and the fix branches one way if the ISBN is valid and the other way if it isn't. Two paths, one condition, no cap. π
π SEE ALSO π
Catmandu::Fixβ the whole parent ecosystem, go say hi π«Ά
Version check, bestie: this one's running on perl v5.36.0 and it's dated 2023-02-09. That's the footer tea, and that's the whole page. Obsessed, honestly. πβ¨π
π¦ 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