This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: sort the ma* entries
authorFather Chrysostomos <sprout@cpan.org>
Mon, 14 Feb 2011 02:41:59 +0000 (18:41 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 14 Feb 2011 05:39:30 +0000 (21:39 -0800)
pod/perldiag.pod

index 46c5812..e0db2be 100644 (file)
@@ -2514,15 +2514,15 @@ message.
 
 See also L<Encode/"Handling Malformed Data">.
 
-=item Malformed UTF-16 surrogate
-
-(F) Perl thought it was reading UTF-16 encoded character data but while
-doing it Perl met a malformed Unicode surrogate.
-
 =item Malformed UTF-8 returned by \N
 
 (F) The charnames handler returned malformed UTF-8.
 
+=item Malformed UTF-8 string in '%c' format in unpack
+
+(F) You tried to unpack something that didn't comply with UTF-8 encoding
+rules and perl was unable to guess how to make more progress.
+
 =item Malformed UTF-8 string in pack
 
 (F) You tried to pack something that didn't comply with UTF-8 encoding
@@ -2533,10 +2533,17 @@ rules and perl was unable to guess how to make more progress.
 (F) You tried to unpack something that didn't comply with UTF-8 encoding
 rules and perl was unable to guess how to make more progress.
 
-=item Malformed UTF-8 string in '%c' format in unpack
+=item Malformed UTF-16 surrogate
 
-(F) You tried to unpack something that didn't comply with UTF-8 encoding
-rules and perl was unable to guess how to make more progress.
+(F) Perl thought it was reading UTF-16 encoded character data but while
+doing it Perl met a malformed Unicode surrogate.
+
+=item %s matches null string many times in regex; marked by <-- HERE in m/%s/
+
+(W regexp) The pattern you've specified would be an infinite loop if the
+regular expression engine didn't specifically check for that.  The <-- HERE
+shows in the regular expression about where the problem was discovered.
+See L<perlre>.
 
 =item Maximal count of pending signals (%u) exceeded
 
@@ -2546,13 +2553,6 @@ too fast (with a very high priority), starving the perl process from
 resources it would need to reach a point where it can process signals
 safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.)
 
-=item %s matches null string many times in regex; marked by <-- HERE in m/%s/
-
-(W regexp) The pattern you've specified would be an infinite loop if the
-regular expression engine didn't specifically check for that.  The <-- HERE
-shows in the regular expression about where the problem was discovered.
-See L<perlre>.
-
 =item "%s" may clash with future reserved word
 
 (W) This warning may be due to running a perl5 script through a perl4