summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl williamson <public@khwilliamson.com>2009-06-26 12:14:28 -0600
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-06-26 21:07:43 +0200
commit956cae9a39d38cbf579796dfaf373bdc31552184 (patch)
treee549b401b56a90817e9f88ad196473c7026ba51d
parentee91d26e067c78d37242b4b2ccf3d5d8d3c85b5f (diff)
downloadperl-956cae9a39d38cbf579796dfaf373bdc31552184.tar.gz
PATCH small documentation change for UCD.pm
From 47005e45e9738044f28ea250c17120bfa04a09b1 Mon Sep 17 00:00:00 2001 From: Karl Williamson <khw@khw-desktop.(none)> Date: Fri, 26 Jun 2009 12:11:05 -0600 Subject: [PATCH] Small documentation change Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
-rw-r--r--lib/Unicode/UCD.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm
index c2cd67bea4..c6ee8e05fe 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<undef> 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<undef> or an empty list depending