diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-08-28 12:08:04 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-09-02 11:57:44 -0600 |
commit | 67592e11cc42a8fb72032b07a75750873bd86cf6 (patch) | |
tree | 708c66ca497fde6e110411abd87ca9da0a8e7a67 | |
parent | 9a74aa57c6171e0a53a4defac910aed66bc40363 (diff) | |
download | perl-67592e11cc42a8fb72032b07a75750873bd86cf6.tar.gz |
Unicode::UCD: Make pod header consistent
All the other function headers in this pod look like what this patch
makes this one look like. Corresponding links to it are also revised.
-rw-r--r-- | lib/Unicode/UCD.pm | 4 | ||||
-rw-r--r-- | pod/perl5140delta.pod | 2 | ||||
-rw-r--r-- | pod/perlre.pod | 2 | ||||
-rw-r--r-- | pod/perlrecharclass.pod | 2 | ||||
-rw-r--r-- | pod/perluniintro.pod | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm index 1ce0d35949..886a806c5c 100644 --- a/lib/Unicode/UCD.pm +++ b/lib/Unicode/UCD.pm @@ -6,7 +6,7 @@ no warnings 'surrogate'; # surrogates can be inputs to this use charnames (); use Unicode::Normalize qw(getCombinClass NFKD); -our $VERSION = '0.34'; +our $VERSION = '0.35'; use Storable qw(dclone); @@ -1273,7 +1273,7 @@ sub _numeric { =pod -=head2 num +=head2 B<num()> C<num> returns the numeric value of the input Unicode string; or C<undef> if it doesn't think the entire string has a completely valid, safe numeric value. diff --git a/pod/perl5140delta.pod b/pod/perl5140delta.pod index 51060aca52..00ef78140d 100644 --- a/pod/perl5140delta.pod +++ b/pod/perl5140delta.pod @@ -2125,7 +2125,7 @@ L<Unicode::UCD> has been upgraded from version 0.27 to 0.32. A new function, Unicode::UCD::num(), has been added. This function returns the numeric value of the string passed it or C<undef> if the string in its entirety has no "safe" numeric value. (For more detail, and for the -definition of "safe", see L<Unicode::UCD/num>.) +definition of "safe", see L<Unicode::UCD/num()>.) This upgrade also includes several bug fixes: diff --git a/pod/perlre.pod b/pod/perlre.pod index 5a01b2c5f1..e3bdd51402 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -258,7 +258,7 @@ a number is a different quantity than it really is. For example, C<BENGALI DIGIT FOUR> (U+09EA) looks very much like an C<ASCII DIGIT EIGHT> (U+0038). And, C<\d+>, may match strings of digits that are a mixture from different writing systems, creating a security -issue. L<Unicode::UCD::num()|Unicode::UCD/num> can be used to sort +issue. L<Unicode::UCD/num()> can be used to sort this out. Or the C</a> modifier can be used to force C<\d> to match just the ASCII 0 through 9. diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index 0e583fd902..fef220fc11 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -109,7 +109,7 @@ very much like an ASCII DIGIT EIGHT (U+0038). An application that is expecting only the ASCII digits might be misled, or if the match is C<\d+>, the matched string might contain a mixture of digits from different writing systems that look like they signify a number different -than they actually do. L<Unicode::UCDE<sol>num()|Unicode::UCD/num> can +than they actually do. L<Unicode::UCD/num()> can be used to safely calculate the value, returning C<undef> if the input string contains such a mixture. diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index a8a927df7e..778c5de5be 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -617,7 +617,7 @@ besides the familiar 0 to 9, such as the Arabic and Indic digits. Perl does not support string-to-number conversion for digits other than ASCII 0 to 9 (and ASCII a to f for hexadecimal). To get safe conversions from any Unicode string, use -L<Unicode::UCDE<sol>num()|Unicode::UCD/num>. +L<Unicode::UCD/num()>. =back |