UNICODE::COLLATE::CJK::KOREAN(3perl)

πŸ’– NAME πŸ’–

okay so bestie, gather round 🫢 this one is called Unicode::Collate::CJK::Korean β€” and it does the weighting of CJK Unified Ideographs for Unicode::Collate. That's the whole job. That's the moment. ✨


🌸 SYNOPSIS 🌸

not me about to show you the exact vibes. copy this, don't freestyle it:

use Unicode::Collate;
use Unicode::Collate::CJK::Korean;

my $collator = Unicode::Collate->new(
    overrideCJK => \&Unicode::Collate::CJK::Korean::weightKorean
);

look at that. use it twice, pass weightKorean as a code ref to overrideCJK, and you are so sorted. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so Unicode::Collate::CJK::Korean hands you weightKorean() β€” one function, main character energy, no notes πŸ‘‘

and what does weightKorean() do? it's adequate for the overrideCJK thingy of Unicode::Collate (yes, the module literally says "adequate", we're being humble today πŸ™ˆ), and it makes the tailoring of CJK Unified Ideographs happen β€” in the order of CLDR's Korean ordering. that's it. that's the tea πŸ“

lowkey iconic: you don't sort CJK ideographs by whatever vibe you woke up with, you sort them the Korean way, courtesy of CLDR. periodt.

πŸŽ€ SEE ALSO πŸŽ€

go read these, they're giving very much required-reading 🧚


and that's the page fr fr πŸ’œ this lil Unicod...:Korean(3perl) lives in the Perl Programmers Reference Guide, it's from perl v5.44.0, dated 2026-10-17. slay, go collate something πŸ¦‹βœ¨

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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