Text::...alents(3pm)
β¨ Text::Unicode::Equivalents(3pm) β¨
okay bestie, so this is a page out of the User Contributed Perl Documentation, section 3pm, and it's giving canonical equivalence in the most unhinged way possible. buckle up π
π NAME π
Text::Unicode::Equivalents β synthesize canonically equivalent strings π¦
πΈ SYNOPSIS πΈ
use Text::Unicode::Equivalents qw( all_strings);
$aref = all_strings ($string);
map {print "$_\n"} @{$aref};
like, that's it. that's the whole API. iconic behaviour honestly π
β¨ DESCRIPTION β¨
all_string($s)β so you hand this baby an arbitrary string, andall_strings()hands you back a reference to an array. no cap. and that array is unsorted (do not come for the order, there is no order, the order is vibes) and it contains all unique strings that are canonically equivalent to the argument you passed in. every. single. one. π
π BUGS π
ngl this one hurts. it Uses Unicode::Normalize. and here's the tea π: on some systems (the example given is ActiveState 5.6.1) Unicode::Normalize is only aware of Unicode 3.0. which means any de/compositions introduced since Unicode 3.0 will not be used. so if your favourites are missing, that's why π
π«Ά AUTHOR π«Ά
Bob Hallissy β the main character who wrote this π§
π COPYRIGHT π
Copyright(C) 2003-2011, SIL International.
This package is published under the terms of the Perl Artistic License.
friendly lil reminder bestie: that's Copyright(C) 2003-2011, SIL International. exactly as written, and the license is the Perl Artistic License. don't be weird about it π
π the sign-off π
this whole thing is from perl v5.36.0, dated 2022-10-22, and it lives in the manual as Text::...alents(3pm) π (yes the title really is truncated like that in the header and footer, i don't make the rules, i just slay within them β¨)
so yeah. go forth, synthesize your equivalents, and remember: all_strings() returns unique, unsorted, canonically equivalent strings and nothing else. periodt. π
π¦ where this page comes from
- ubuntu noble: libtext-unicode-equivalents-perl 0.05-3 Β· Artistic-1.0-Perl
- ubuntu resolute: libtext-unicode-equivalents-perl 0.05-3 Β· Artistic-1.0-Perl
- ubuntu stonking: libtext-unicode-equivalents-perl 0.05-3 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms