This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: encoding.pm change is incompatible
authorFather Chrysostomos <sprout@cpan.org>
Sun, 14 Dec 2014 20:53:46 +0000 (12:53 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 15 Dec 2014 00:28:38 +0000 (16:28 -0800)
so list it under Incompatible Changes.

pod/perldelta.pod

index 7dc7eaa..dea404e 100644 (file)
@@ -64,6 +64,12 @@ and things beginning with C<\&>.  Formerly it erroneously also allowed
 C<undef> and references to array, hashes, and lists.  [perl #4539]
 [perl #123062]
 
+=head2 C<use encoding> is now lexical
+
+The L<encoding> pragma's effect is now limited to lexical scope.  This
+pragma is deprecated, but in the meantime, it could adversely affect
+unrelated modules that are included in the same program.
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -405,12 +411,6 @@ process).
 
 =item *
 
-The L<encoding> pragma's effect is now limited to lexical scope.  This
-pragma is deprecated, but in the meantime, it could adversely affect
-unrelated modules that are included in the same program.
-
-=item *
-
 Calling C<write> on a format with a C<^**> field could produce a panic
 in sv_chop() if there were insufficient arguments or if the variable
 used to fill the field was empty.  [perl #123245]