Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Biber::UCollate - Biber::UCollate objects

Authors

       Philip Kime "<philip at kime.org.uk>"

Bugs

       Please report any bugs or feature requests on our Github tracker at
       <https://github.com/plk/biber/issues>.

Name

       Biber::UCollate - Biber::UCollate objects

   new
         Instantiate new Unicode::Collate::Locale object with some extra reporting checks.
         We need this also so that we can chain some things during sorting object construction.
         Without an object, we would need to call a regular subroutine but due to the special
         semantics of Schwartzian transforms, we need to chain all sorting elements so that they return
         a boolean value (see Biber.pm). This is much tidier with Foo->new()->change()->cmp than
         with something messy like "my $uc = create_uc_object; $uc->change()->cmp()" etc.

See Also