This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Sort perldiag
authorFather Chrysostomos <sprout@cpan.org>
Sun, 22 May 2016 01:31:26 +0000 (18:31 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 22 May 2016 01:31:26 +0000 (18:31 -0700)
pod/perldiag.pod

index d6c27f9..76da574 100644 (file)
@@ -534,10 +534,9 @@ The C<strict> pragma is useful in avoiding such errors.
 
 =item Bareword in require contains "%s"
 
-=item Bareword in require maps to empty filename
-
 =item Bareword in require maps to disallowed filename "%s"
 
+=item Bareword in require maps to empty filename
 
 (F) The bareword form of require has been invoked with a filename which could
 not have been generated by a valid bareword permitted by the parser. You
@@ -4119,6 +4118,14 @@ C<sysread()>ing a file, or when seeking past the end of a scalar opened
 for I/O (in anticipation of future reads and to imitate the behavior
 with real files).
 
+=item Only one /x regex modifier is allowed
+
+=item Only one /x regex modifier is allowed in regex; marked by <-- HERE in m/%s/
+
+(F) You used the C</x> regular expression pattern modifier at
+least twice in a string of modifiers.  It is illegal to do
+this with, to allow future extensions to the Perl language.
+
 =item %s() on unopened %s
 
 (W unopened) An I/O operation was attempted on a filehandle that was
@@ -4130,14 +4137,6 @@ call, or call a constructor from the FileHandle package.
 (W unopened) You tried to invoke a file test operator on a filehandle
 that isn't open.  Check your control flow.  See also L<perlfunc/-X>.
 
-=item Only one /x regex modifier is allowed
-
-=item Only one /x regex modifier is allowed in regex; marked by <-- HERE in m/%s/
-
-(F) You used the C</x> regular expression pattern modifier at least
-twice in a string of modifiers.  It is illegal to do this with, to allow
-future extensions to the Perl language.
-
 =item oops: oopsAV
 
 (S internal) An internal warning that the grammar is screwed up.
@@ -6229,12 +6228,6 @@ problems when being input or output, which is likely where this message
 came from.  If you really really know what you are doing you can turn
 off this warning by C<no warnings 'surrogate';>.
 
-=item Unknown charname '' is deprecated
-
-(D deprecated) You had a C<\N{}> with nothing between the braces.  This
-usage is deprecated, and will be made a syntax error in a future Perl
-version.
-
 =item Unknown charname '%s'
 
 (F) The name you used inside C<\N{}> is unknown to Perl.  Check the
@@ -6245,6 +6238,12 @@ exactly, regardless of whether C<:loose> is used or not.)  This error may
 also happen if the C<\N{}> is not in the scope of the corresponding
 C<S<use charnames>>.
 
+=item Unknown charname '' is deprecated
+
+(D deprecated) You had a C<\N{}> with nothing between the braces.  This
+usage is deprecated, and will be made a syntax error in a future Perl
+version.
+
 =item Unknown error
 
 (P) Perl was about to print an error message in C<$@>, but the C<$@> variable