Biber::UCollate(3pm)

💖 NAME 💖

Biber::UCollate — it's giving Biber::UCollate objects, bestie. That's the whole vibe. ✨


🎀 new 🎀

okay so new is out here doing the most (affectionately). It instantiates a new Unicode::Collate::Locale object, but with some extra reporting checks sprinkled on top, because we're ✨thorough✨ like that.

Why do we even need this? So glad you asked, queen. We need it so we can chain some things during sorting object construction. Without an actual object, we'd have to call a regular subroutine — but because of the special semantics of Schwartzian transforms, we gotta chain all the sorting elements together so they return a boolean value (peep Biber.pm for that whole situation 👀).

And fr fr, this is much tidier as:

Foo->new()->change()->cmp

than with something messy like:

my $uc = create_uc_object; $uc->change()->cmp()

etc. Like… no contest. The chained version ate and left no crumbs. 💅


👑 AUTHORS 👑

Philip Kime "<philip at kime.org.uk>" — the icon, the legend, the moment. 🌟


🦋 BUGS 🦋

Found a bug? Got a feature request? Please report any bugs or feature requests on our Github tracker at:

<https://github.com/plk/biber/issues>

We're literally waiting with open arms, bestie. 🫶


Copyright 2012-2026 Philip Kime, all rights reserved. Periodt.

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. Slay. 🎀

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. So like… it's yours to use, but don't come for us if it acts up. 💀

and that's the whole page, bestie — no cap, every single detail preserved, we simply do not skip. mwah. 💖✨

perl v5.42.3 • 2026-08-14 • Biber::UCollate(3pm) — signing off, stay iconic. 🦋💜

📦 where this page comes from