Unicod...hibited(3pm)

πŸ“¦
version 1.105 Β· 6 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ‘‘


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