develooper Front page | perl.perl5.porters | Postings from May 2012

RFC: Unicode::UCD::all_casefolds()

Thread Next
Karl Williamson
May 24, 2012 11:42
RFC: Unicode::UCD::all_casefolds()
Message ID:
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 

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About