This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disable ${^ENCODING}
[perl5.git] / pod / perldiag.pod
index 4164baf..fb502bb 100644 (file)
@@ -2086,6 +2086,11 @@ unlikely to be what you want.
 described in L<perlunicode> and L<perlre>.  You used C<\p> or C<\P> in
 a regular expression without specifying the property name.
 
+=item ${^ENCODING} is no longer supported
+
+(D deprecated) The special variable C<${^ENCODING}>, formerly used to implement
+the C<encoding> pragma, is no longer supported as of Perl 5.26.0.
+
 =item entering effective %s failed
 
 (F) While under the C<use filetest> pragma, switching the real and