Front page | perl.perl5.porters |
Postings from May 2012
From: Karl Williamson
May 24, 2012 11:42
Message ID: 4FBE811A.firstname.lastname@example.org
Unicode::UCD::casefold() is a function which takes a code point argument
and returns a hash of information about its casefold. The first time
the function is called, it constructs and caches a hash which contains a
sub-hash for every code point that has an "interesting" casefold (there
are only somewhat over a thousand such code points).
I have found it useful in writing .t tests to have access to the entire
data structure, so I've written a minimal function to return that, and
have tentatively called it all_casefolds().
My question is: "Would this be a function that others would conceivably
want to use, and hence should be documented"? If so, is there a better
by Karl Williamson