summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-01-31 11:21:22 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-04 16:29:32 -0700
commit6cc4552359b3a4afd374326d64c09a19ec5b708f (patch)
treec84c0240df667811628b8edaf873df732f4f1a01
parent290a3bf65322c9a56f56522def856dd0aa0fed8d (diff)
downloadperl-6cc4552359b3a4afd374326d64c09a19ec5b708f.tar.gz
Unicode::UCD move =item in pod
This merely moves a whole=item to another place, in preparation for future commits
-rw-r--r--lib/Unicode/UCD.pm76
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm
index f15b4180a6..343191d6bb 100644
--- a/lib/Unicode/UCD.pm
+++ b/lib/Unicode/UCD.pm
@@ -2292,44 +2292,6 @@ For example,
A map to the empty string means that there is no alias defined for the code
point.
-=item B<C<r>>
-
-means that all the elements of the map array are either rational numbers or
-the string C<"NaN">, meaning "Not a Number". A rational number is either an
-integer, or two integers separated by a solidus (C<"/">). The second integer
-represents the denominator of the division implied by the solidus, and is
-guaranteed not to be 0. If you want to convert them to scalar numbers, you
-can use something like this:
-
- my ($invlist_ref, $invmap_ref, $format) = prop_invmap($property);
- if ($format && $format eq "r") {
- map { $_ = eval $_ } @$invmap_ref;
- }
-
-Here's some entries from the output of the property "Nv", which has format
-C<"r">.
-
- @numerics_ranges @numerics_maps Note
- 0x00 "NaN"
- 0x30 0 DIGIT 0
- 0x31 1
- 0x32 2
- ...
- 0x37 7
- 0x38 8
- 0x39 9 DIGIT 9
- 0x3A "NaN"
- 0xB2 2 SUPERSCRIPT 2
- 0xB3 3 SUPERSCRIPT 2
- 0xB4 "NaN"
- 0xB9 1 SUPERSCRIPT 1
- 0xBA "NaN"
- 0xBC 1/4 VULGAR FRACTION 1/4
- 0xBD 1/2 VULGAR FRACTION 1/2
- 0xBE 3/4 VULGAR FRACTION 3/4
- 0xBF "NaN"
- 0x660 0 ARABIC-INDIC DIGIT ZERO
-
=item B<C<c>>
is like C<s> in that all the map array elements are scalars, but here they are
@@ -2443,6 +2405,44 @@ An example slice is:
0x00B0 0
...
+=item B<C<r>>
+
+means that all the elements of the map array are either rational numbers or
+the string C<"NaN">, meaning "Not a Number". A rational number is either an
+integer, or two integers separated by a solidus (C<"/">). The second integer
+represents the denominator of the division implied by the solidus, and is
+guaranteed not to be 0. If you want to convert them to scalar numbers, you
+can use something like this:
+
+ my ($invlist_ref, $invmap_ref, $format) = prop_invmap($property);
+ if ($format && $format eq "r") {
+ map { $_ = eval $_ } @$invmap_ref;
+ }
+
+Here's some entries from the output of the property "Nv", which has format
+C<"r">.
+
+ @numerics_ranges @numerics_maps Note
+ 0x00 "NaN"
+ 0x30 0 DIGIT 0
+ 0x31 1
+ 0x32 2
+ ...
+ 0x37 7
+ 0x38 8
+ 0x39 9 DIGIT 9
+ 0x3A "NaN"
+ 0xB2 2 SUPERSCRIPT 2
+ 0xB3 3 SUPERSCRIPT 2
+ 0xB4 "NaN"
+ 0xB9 1 SUPERSCRIPT 1
+ 0xBA "NaN"
+ 0xBC 1/4 VULGAR FRACTION 1/4
+ 0xBD 1/2 VULGAR FRACTION 1/2
+ 0xBE 3/4 VULGAR FRACTION 3/4
+ 0xBF "NaN"
+ 0x660 0 ARABIC-INDIC DIGIT ZERO
+
=item B<C<n>>
means the Name property. All the elements of the map array are simple