This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/utf8.pm: Pod clarification and nit
authorKarl Williamson <public@khwilliamson.com>
Fri, 17 May 2013 03:35:23 +0000 (21:35 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 20 May 2013 14:59:12 +0000 (08:59 -0600)
lib/utf8.pm

index a232091..820d1ef 100644 (file)
@@ -2,7 +2,7 @@ package utf8;
 
 $utf8::hint_bits = 0x00800000;
 
 
 $utf8::hint_bits = 0x00800000;
 
-our $VERSION = '1.11';
+our $VERSION = '1.12';
 
 sub import {
     $^H |= $utf8::hint_bits;
 
 sub import {
     $^H |= $utf8::hint_bits;
@@ -169,15 +169,15 @@ L<Encode>.
 
 =item * $flag = utf8::is_utf8(STRING)
 
 
 =item * $flag = utf8::is_utf8(STRING)
 
-(Since Perl 5.8.1)  Test whether STRING is encoded internally in UTF-8.
-Functionally the same as Encode::is_utf8().
+(Since Perl 5.8.1)  Test whether STRING is marked internally as encoded in
+UTF-8.  Functionally the same as Encode::is_utf8().
 
 =item * $flag = utf8::valid(STRING)
 
 [INTERNAL] Test whether STRING is in a consistent state regarding
 UTF-8.  Will return true if it is well-formed UTF-8 and has the UTF-8 flag
 on B<or> if STRING is held as bytes (both these states are 'consistent').
 
 =item * $flag = utf8::valid(STRING)
 
 [INTERNAL] Test whether STRING is in a consistent state regarding
 UTF-8.  Will return true if it is well-formed UTF-8 and has the UTF-8 flag
 on B<or> if STRING is held as bytes (both these states are 'consistent').
-Main reason for this routine is to allow Perl's testsuite to check
+Main reason for this routine is to allow Perl's test suite to check
 that operations have left strings in a consistent state.  You most
 probably want to use utf8::is_utf8() instead.
 
 that operations have left strings in a consistent state.  You most
 probably want to use utf8::is_utf8() instead.