This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unicode/UCD.pm: Clarify pod
authorKarl Williamson <public@khwilliamson.com>
Fri, 31 Aug 2012 23:39:04 +0000 (17:39 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 14 Sep 2012 03:13:59 +0000 (21:13 -0600)
lib/Unicode/UCD.pm

index a2557d8..a882ab5 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 no warnings 'surrogate';    # surrogates can be inputs to this
 use charnames ();
 
 no warnings 'surrogate';    # surrogates can be inputs to this
 use charnames ();
 
-our $VERSION = '0.45';
+our $VERSION = '0.46';
 
 require Exporter;
 
 
 require Exporter;
 
@@ -2017,7 +2017,8 @@ by the input parameter string:
  prints:
  0, 1114112
 
  prints:
  0, 1114112
 
-An empty list is returned if the input is unknown; the number of elements in
+If the input is unknown C<undef> is returned in scalar context; an empty-list
+in list context.  If the input is known, the number of elements in
 the list is returned if called in scalar context.
 
 L<perluniprops|perluniprops/Properties accessible through \p{} and \P{}> gives
 the list is returned if called in scalar context.
 
 L<perluniprops|perluniprops/Properties accessible through \p{} and \P{}> gives