From: karl williamson Date: Fri, 26 Jun 2009 18:14:28 +0000 (-0600) Subject: PATCH small documentation change for UCD.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=956cae9a39d38cbf579796dfaf373bdc31552184;p=p5sagit%2Fp5-mst-13.2.git PATCH small documentation change for UCD.pm From 47005e45e9738044f28ea250c17120bfa04a09b1 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 26 Jun 2009 12:11:05 -0600 Subject: [PATCH] Small documentation change Signed-off-by: H.Merijn Brand --- diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm index c2cd67b..c6ee8e0 100644 --- a/lib/Unicode/UCD.pm +++ b/lib/Unicode/UCD.pm @@ -31,6 +31,9 @@ Unicode::UCD - Unicode character database use Unicode::UCD 'charinfo'; my $charinfo = charinfo($codepoint); + use Unicode::UCD 'casefold'; + my $casefold = casefold(0xFB00); + use Unicode::UCD 'casespec'; my $casespec = casespec(0xFB00); @@ -1110,7 +1113,8 @@ sub casespec { If used with a single argument in a scalar context, returns the string consisting of the code points of the named sequence, or B if no named sequence by that name exists. If used with a single argument in -a list context, it returns the list of the code points. If used with no +a list context, it returns the list of the ordinals of the code points. If used +with no arguments in a list context, returns a hash with the names of the named sequences as the keys and the named sequences as strings as the values. Otherwise, it returns B or an empty list depending