Unicod...hibited(3pm)
π Unicod...hibited(3pm) π
okay so bestie, welcome to a page from the User Contributed Perl Documentation, which is literally the perl girlypop collective wiki and this one is Unicode::Stringprep::Prohibited β say that three times fast, i dare you π«Ά
β¨ NAME β¨
Unicode::Stringprep::Prohibited β the tables from RFC 3454, Appendix C. that's it, that's the whole vibe. it's giving "i am a data module and i have no thoughts, only ranges" π
πΈ SYNOPSIS πΈ
@Unicode::Stringprep::Prohibited::C11 # Appendix C.1.1
@Unicode::Stringprep::Prohibited::C12 # Appendix C.1.2
@Unicode::Stringprep::Prohibited::C21 # Appendix C.2.1
@Unicode::Stringprep::Prohibited::C22 # Appendix C.2.2
@Unicode::Stringprep::Prohibited::C3 # Appendix C.3
@Unicode::Stringprep::Prohibited::C4 # Appendix C.4
@Unicode::Stringprep::Prohibited::C5 # Appendix C.5
@Unicode::Stringprep::Prohibited::C6 # Appendix C.6
@Unicode::Stringprep::Prohibited::C7 # Appendix C.7
@Unicode::Stringprep::Prohibited::C8 # Appendix C.8
@Unicode::Stringprep::Prohibited::C9 # Appendix C.9
so like, there's eleven of them. eleven little arrays. each one is a different slice of Appendix C and the comments are right there telling you exactly which one, no guessing, we don't do guessing π
π¦ DESCRIPTION π¦
the way these tables work is so simple and i'm obsessed honestly: each one is just an array, and inside that array are pairs of Unicode codepoints (as integers) β the first one is the start of a Unicode range, the second one is the end of that same range. boom. that's the whole structure. pair 'em up, read 'em off, no cap π
π¨ and the plot twist: this module exports nothing. like, nothing nothing. zero. not one symbol. you have to go get those arrays by their full package name with the <pink>@</pink> sigil, they are not sliding into your namespace on their own, bestie π if you're sitting there wondering why nothing showed up in your symbol table... that's why. it's not a bug, it's the entire design. main character energy that refuses to be imported.
π AUTHOR π
Claus Faerber <CFAERBER@cpan.org> β the legend, the icon, the moment π
β LICENSE β
Copyright 2007-2009 Claus Faerber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so yeah you can share it, you can remix it, you can pass it around the group chat β same terms as Perl itself, periodt π
π SEE ALSO π
Unicode::Stringprepβ the main module, go there if you want the actual machinery- RFC 3454 (<http://www.ietf.org/rfc/rfc3454.txt>) β the source material, the origin story, the blueprint π§
and that's the page!! mwah π stay safe out there, validate your strings, and remember: nothing is exported, so import nothing back. fr fr.
this cutie was written by perl v5.36.0 on 2022-10-15 β shoutout to that exact build, timestamp and all, living its best documented life πβ¨
π¦ where this page comes from
- ubuntu noble: libunicode-stringprep-perl 1.105+dfsg-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libunicode-stringprep-perl 1.105+dfsg-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libunicode-stringprep-perl 1.105+dfsg-3 Β· 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