Current Path: > > usr > share > perl5 > pod >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
perl.pod | File | 16270 bytes | July 28 2025 08:07:09. | |
perl5004delta.pod | File | 56240 bytes | July 28 2025 08:07:09. | |
perl5005delta.pod | File | 34283 bytes | July 28 2025 08:07:09. | |
perl5100delta.pod | File | 55535 bytes | July 28 2025 08:07:09. | |
perl5101delta.pod | File | 43888 bytes | July 28 2025 08:07:09. | |
perl5120delta.pod | File | 89272 bytes | July 28 2025 08:07:09. | |
perl5121delta.pod | File | 10141 bytes | July 28 2025 08:07:09. | |
perl5122delta.pod | File | 9603 bytes | July 28 2025 08:07:09. | |
perl5123delta.pod | File | 4100 bytes | July 28 2025 08:07:09. | |
perl5124delta.pod | File | 3672 bytes | July 28 2025 08:07:09. | |
perl5125delta.pod | File | 7683 bytes | July 28 2025 08:07:09. | |
perl5140delta.pod | File | 144324 bytes | July 28 2025 08:07:09. | |
perl5141delta.pod | File | 7966 bytes | July 28 2025 08:07:09. | |
perl5142delta.pod | File | 6892 bytes | July 28 2025 08:07:09. | |
perl5143delta.pod | File | 7760 bytes | July 28 2025 08:07:09. | |
perl5144delta.pod | File | 6327 bytes | July 28 2025 08:07:09. | |
perl5160delta.pod | File | 133651 bytes | July 28 2025 08:07:09. | |
perl5161delta.pod | File | 6142 bytes | July 28 2025 08:07:09. | |
perl5162delta.pod | File | 3594 bytes | July 28 2025 08:07:09. | |
perl5163delta.pod | File | 4085 bytes | July 28 2025 08:07:09. | |
perl5180delta.pod | File | 119431 bytes | July 28 2025 08:07:09. | |
perl5181delta.pod | File | 6595 bytes | July 28 2025 08:07:09. | |
perl5182delta.pod | File | 5335 bytes | July 28 2025 08:07:09. | |
perl5184delta.pod | File | 4642 bytes | July 28 2025 08:07:09. | |
perl5200delta.pod | File | 115699 bytes | July 28 2025 08:07:09. | |
perl5201delta.pod | File | 10899 bytes | July 28 2025 08:07:09. | |
perl5202delta.pod | File | 12509 bytes | July 28 2025 08:07:09. | |
perl5203delta.pod | File | 9392 bytes | July 28 2025 08:07:09. | |
perl5220delta.pod | File | 130963 bytes | July 28 2025 08:07:09. | |
perl5221delta.pod | File | 10767 bytes | July 28 2025 08:07:09. | |
perl5222delta.pod | File | 12629 bytes | July 28 2025 08:07:09. | |
perl5223delta.pod | File | 8456 bytes | July 28 2025 08:07:09. | |
perl5224delta.pod | File | 4460 bytes | July 28 2025 08:07:09. | |
perl5240delta.pod | File | 64927 bytes | July 28 2025 08:07:09. | |
perl5241delta.pod | File | 8215 bytes | July 28 2025 08:07:09. | |
perl5242delta.pod | File | 4113 bytes | July 28 2025 08:07:09. | |
perl5243delta.pod | File | 11428 bytes | July 28 2025 08:07:09. | |
perl5244delta.pod | File | 4510 bytes | July 28 2025 08:07:09. | |
perl5260delta.pod | File | 101836 bytes | July 28 2025 08:07:09. | |
perl5261delta.pod | File | 7927 bytes | July 28 2025 08:07:09. | |
perl5262delta.pod | File | 7880 bytes | July 28 2025 08:07:09. | |
perl5263delta.pod | File | 7063 bytes | July 28 2025 08:07:09. | |
perl5280delta.pod | File | 72113 bytes | July 28 2025 08:07:09. | |
perl561delta.pod | File | 124713 bytes | July 28 2025 08:07:09. | |
perl56delta.pod | File | 107201 bytes | July 28 2025 08:07:09. | |
perl581delta.pod | File | 38061 bytes | July 28 2025 08:07:09. | |
perl582delta.pod | File | 4470 bytes | July 28 2025 08:07:09. | |
perl583delta.pod | File | 6335 bytes | July 28 2025 08:07:09. | |
perl584delta.pod | File | 7363 bytes | July 28 2025 08:07:09. | |
perl585delta.pod | File | 5889 bytes | July 28 2025 08:07:09. | |
perl586delta.pod | File | 4651 bytes | July 28 2025 08:07:09. | |
perl587delta.pod | File | 8357 bytes | July 28 2025 08:07:09. | |
perl588delta.pod | File | 25272 bytes | July 28 2025 08:07:09. | |
perl589delta.pod | File | 53900 bytes | July 28 2025 08:07:09. | |
perl58delta.pod | File | 115165 bytes | July 28 2025 08:07:09. | |
perlaix.pod | File | 20437 bytes | July 28 2025 08:07:09. | |
perlamiga.pod | File | 5749 bytes | July 28 2025 08:07:09. | |
perlandroid.pod | File | 7871 bytes | July 28 2025 08:07:09. | |
perlapi.pod | File | 443535 bytes | July 28 2025 08:07:09. | |
perlapio.pod | File | 19285 bytes | July 28 2025 08:07:09. | |
perlartistic.pod | File | 7010 bytes | July 28 2025 08:07:09. | |
perlbook.pod | File | 8338 bytes | July 28 2025 08:07:09. | |
perlboot.pod | File | 294 bytes | July 28 2025 08:07:09. | |
perlbot.pod | File | 304 bytes | July 28 2025 08:07:09. | |
perlbs2000.pod | File | 8058 bytes | July 28 2025 08:07:09. | |
perlcall.pod | File | 56706 bytes | July 28 2025 08:07:09. | |
perlce.pod | File | 14602 bytes | July 28 2025 08:07:09. | |
perlcheat.pod | File | 4481 bytes | July 28 2025 08:07:09. | |
perlclib.pod | File | 9619 bytes | July 28 2025 08:07:09. | |
perlcn.pod | File | 4691 bytes | July 28 2025 08:07:09. | |
perlcommunity.pod | File | 7217 bytes | July 28 2025 08:07:09. | |
perlcygwin.pod | File | 27199 bytes | July 28 2025 08:07:09. | |
perldata.pod | File | 46743 bytes | July 28 2025 08:07:09. | |
perldbmfilter.pod | File | 4981 bytes | July 28 2025 08:07:09. | |
perldebguts.pod | File | 38535 bytes | July 28 2025 08:07:09. | |
perldebtut.pod | File | 22152 bytes | July 28 2025 08:07:09. | |
perldebug.pod | File | 39258 bytes | July 28 2025 08:07:09. | |
perldelta.pod | File | 7063 bytes | July 28 2025 08:07:09. | |
perldeprecation.pod | File | 18169 bytes | July 28 2025 08:07:09. | |
perldiag.pod | File | 284572 bytes | July 28 2025 08:07:09. | |
perldos.pod | File | 10522 bytes | July 28 2025 08:07:09. | |
perldsc.pod | File | 25614 bytes | July 28 2025 08:07:09. | |
perldtrace.pod | File | 7958 bytes | July 28 2025 08:07:09. | |
perlebcdic.pod | File | 84233 bytes | July 28 2025 08:07:09. | |
perlembed.pod | File | 37196 bytes | July 28 2025 08:07:09. | |
perlexperiment.pod | File | 7195 bytes | July 28 2025 08:07:09. | |
perlfork.pod | File | 13355 bytes | July 28 2025 08:07:09. | |
perlform.pod | File | 16608 bytes | July 28 2025 08:07:09. | |
perlfreebsd.pod | File | 1610 bytes | July 28 2025 08:07:09. | |
perlfunc.pod | File | 392957 bytes | July 28 2025 08:07:09. | |
perlgit.pod | File | 33509 bytes | July 28 2025 08:07:09. | |
perlgpl.pod | File | 13815 bytes | July 28 2025 08:07:09. | |
perlguts.pod | File | 139329 bytes | July 28 2025 08:07:09. | |
perlhack.pod | File | 40445 bytes | July 28 2025 08:07:09. | |
perlhacktips.pod | File | 55509 bytes | July 28 2025 08:07:09. | |
perlhacktut.pod | File | 6153 bytes | July 28 2025 08:07:09. | |
perlhaiku.pod | File | 1508 bytes | July 28 2025 08:07:09. | |
perlhist.pod | File | 53546 bytes | July 28 2025 08:07:09. | |
perlhpux.pod | File | 30509 bytes | July 28 2025 08:07:09. | |
perlhurd.pod | File | 1993 bytes | July 28 2025 08:07:09. | |
perlintern.pod | File | 54572 bytes | July 28 2025 08:07:09. | |
perlinterp.pod | File | 33687 bytes | July 28 2025 08:07:09. | |
perlintro.pod | File | 22119 bytes | July 28 2025 08:07:09. | |
perliol.pod | File | 34185 bytes | July 28 2025 08:07:09. | |
perlipc.pod | File | 70829 bytes | July 28 2025 08:07:09. | |
perlirix.pod | File | 4395 bytes | July 28 2025 08:07:09. | |
perljp.pod | File | 7521 bytes | July 28 2025 08:07:09. | |
perlko.pod | File | 12259 bytes | July 28 2025 08:07:09. | |
perllexwarn.pod | File | 355 bytes | July 28 2025 08:07:09. | |
perllinux.pod | File | 1488 bytes | July 28 2025 08:07:09. | |
perllocale.pod | File | 68678 bytes | July 28 2025 08:07:09. | |
perllol.pod | File | 9580 bytes | July 28 2025 08:07:09. | |
perlmacos.pod | File | 1001 bytes | July 28 2025 08:07:09. | |
perlmacosx.pod | File | 12060 bytes | July 28 2025 08:07:09. | |
perlmod.pod | File | 26250 bytes | July 28 2025 08:07:09. | |
perlmodinstall.pod | File | 12792 bytes | July 28 2025 08:07:09. | |
perlmodlib.pod | File | 76482 bytes | July 28 2025 08:07:09. | |
perlmodstyle.pod | File | 22575 bytes | July 28 2025 08:07:09. | |
perlmroapi.pod | File | 3212 bytes | July 28 2025 08:07:09. | |
perlnetware.pod | File | 6648 bytes | July 28 2025 08:07:09. | |
perlnewmod.pod | File | 11036 bytes | July 28 2025 08:07:09. | |
perlnumber.pod | File | 8353 bytes | July 28 2025 08:07:09. | |
perlobj.pod | File | 35537 bytes | July 28 2025 08:07:09. | |
perlootut.pod | File | 26783 bytes | July 28 2025 08:07:09. | |
perlop.pod | File | 136252 bytes | July 28 2025 08:07:09. | |
perlopenbsd.pod | File | 1204 bytes | July 28 2025 08:07:09. | |
perlopentut.pod | File | 9455 bytes | July 28 2025 08:07:09. | |
perlos2.pod | File | 93351 bytes | July 28 2025 08:07:09. | |
perlos390.pod | File | 15674 bytes | July 28 2025 08:07:09. | |
perlos400.pod | File | 4768 bytes | July 28 2025 08:07:09. | |
perlpacktut.pod | File | 51282 bytes | July 28 2025 08:07:09. | |
perlperf.pod | File | 49881 bytes | July 28 2025 08:07:09. | |
perlplan9.pod | File | 5125 bytes | July 28 2025 08:07:09. | |
perlpod.pod | File | 22196 bytes | July 28 2025 08:07:09. | |
perlpodspec.pod | File | 68476 bytes | July 28 2025 08:07:09. | |
perlpolicy.pod | File | 25629 bytes | July 28 2025 08:07:09. | |
perlport.pod | File | 87602 bytes | July 28 2025 08:07:09. | |
perlpragma.pod | File | 5176 bytes | July 28 2025 08:07:09. | |
perlqnx.pod | File | 6673 bytes | July 28 2025 08:07:09. | |
perlre.pod | File | 120901 bytes | July 28 2025 08:07:09. | |
perlreapi.pod | File | 30334 bytes | July 28 2025 08:07:09. | |
perlrebackslash.pod | File | 31817 bytes | July 28 2025 08:07:09. | |
perlrecharclass.pod | File | 49029 bytes | July 28 2025 08:07:09. | |
perlref.pod | File | 35304 bytes | July 28 2025 08:07:09. | |
perlreftut.pod | File | 18790 bytes | July 28 2025 08:07:09. | |
perlreguts.pod | File | 38328 bytes | July 28 2025 08:07:09. | |
perlrepository.pod | File | 509 bytes | July 28 2025 08:07:09. | |
perlrequick.pod | File | 18497 bytes | July 28 2025 08:07:09. | |
perlreref.pod | File | 14744 bytes | July 28 2025 08:07:09. | |
perlretut.pod | File | 121257 bytes | July 28 2025 08:07:09. | |
perlriscos.pod | File | 1529 bytes | July 28 2025 08:07:09. | |
perlrun.pod | File | 53550 bytes | July 28 2025 08:07:09. | |
perlsec.pod | File | 26184 bytes | July 28 2025 08:07:09. | |
perlsolaris.pod | File | 29822 bytes | July 28 2025 08:07:09. | |
perlsource.pod | File | 6876 bytes | July 28 2025 08:07:09. | |
perlstyle.pod | File | 8630 bytes | July 28 2025 08:07:09. | |
perlsub.pod | File | 72967 bytes | July 28 2025 08:07:09. | |
perlsymbian.pod | File | 15359 bytes | July 28 2025 08:07:09. | |
perlsyn.pod | File | 44512 bytes | July 28 2025 08:07:09. | |
perlsynology.pod | File | 7778 bytes | July 28 2025 08:07:09. | |
perlthrtut.pod | File | 46459 bytes | July 28 2025 08:07:09. | |
perltie.pod | File | 38607 bytes | July 28 2025 08:07:09. | |
perltoc.pod | File | 694171 bytes | July 28 2025 08:07:09. | |
perltodo.pod | File | 376 bytes | July 28 2025 08:07:09. | |
perltooc.pod | File | 294 bytes | July 28 2025 08:07:09. | |
perltoot.pod | File | 294 bytes | July 28 2025 08:07:09. | |
perltrap.pod | File | 10620 bytes | July 28 2025 08:07:09. | |
perltru64.pod | File | 8492 bytes | July 28 2025 08:07:09. | |
perltw.pod | File | 4477 bytes | July 28 2025 08:07:09. | |
perlunicode.pod | File | 82491 bytes | July 28 2025 08:07:09. | |
perlunicook.pod | File | 25488 bytes | July 28 2025 08:07:09. | |
perlunifaq.pod | File | 13647 bytes | July 28 2025 08:07:09. | |
perluniintro.pod | File | 38340 bytes | July 28 2025 08:07:09. | |
perluniprops.pod | File | 285306 bytes | July 28 2025 08:07:09. | |
perlunitut.pod | File | 7951 bytes | July 28 2025 08:07:09. | |
perlutil.pod | File | 7640 bytes | July 28 2025 08:08:32. | |
perlvar.pod | File | 78364 bytes | July 28 2025 08:07:09. | |
perlvms.pod | File | 50823 bytes | July 28 2025 08:07:09. | |
perlvos.pod | File | 3843 bytes | July 28 2025 08:07:09. | |
perlwin32.pod | File | 39298 bytes | July 28 2025 08:07:09. | |
perlxs.pod | File | 78920 bytes | July 28 2025 08:07:09. | |
perlxstut.pod | File | 50095 bytes | July 28 2025 08:07:09. | |
perlxstypemap.pod | File | 24001 bytes | July 28 2025 08:07:09. |
=head1 NAME perldeprecation - list Perl deprecations =head1 DESCRIPTION The purpose of this document is to document what has been deprecated in Perl, and by which version the deprecated feature will disappear, or, for already removed features, when it was removed. This document will try to discuss what alternatives for the deprecated features are available. The deprecated features will be grouped by the version of Perl in which they will be removed. =head2 Perl 5.32 =head3 Constants from lexical variables potentially modified elsewhere You wrote something like my $var; $sub = sub () { $var }; but $var is referenced elsewhere and could be modified after the C<sub> expression is evaluated. Either it is explicitly modified elsewhere (C<$var = 3>) or it is passed to a subroutine or to an operator like C<printf> or C<map>, which may or may not modify the variable. Traditionally, Perl has captured the value of the variable at that point and turned the subroutine into a constant eligible for inlining. In those cases where the variable can be modified elsewhere, this breaks the behavior of closures, in which the subroutine captures the variable itself, rather than its value, so future changes to the variable are reflected in the subroutine's return value. If you intended for the subroutine to be eligible for inlining, then make sure the variable is not referenced elsewhere, possibly by copying it: my $var2 = $var; $sub = sub () { $var2 }; If you do want this subroutine to be a closure that reflects future changes to the variable that it closes over, add an explicit C<return>: my $var; $sub = sub () { return $var }; This usage has been deprecated, and will no longer be allowed in Perl 5.32. =head2 Perl 5.30 =head3 C<< $* >> is no longer supported Before Perl 5.10, setting C<< $* >> to a true value globally enabled multi-line matching within a string. This relique from the past lost its special meaning in 5.10. Use of this variable will be a fatal error in Perl 5.30, freeing the variable up for a future special meaning. To enable multiline matching one should use the C<< /m >> regexp modifier (possibly in combination with C<< /s >>). This can be set on a per match bases, or can be enabled per lexical scope (including a whole file) with C<< use re '/m' >>. =head3 C<< $# >> is no longer supported This variable used to have a special meaning -- it could be used to control how numbers were formatted when printed. This seldom used functionality was removed in Perl 5.10. In order to free up the variable for a future special meaning, its use will be a fatal error in Perl 5.30. To specify how numbers are formatted when printed, one is adviced to use C<< printf >> or C<< sprintf >> instead. =head3 C<< File::Glob::glob() >> will disappear C<< File::Glob >> has a function called C<< glob >>, which just calls C<< bsd_glob >>. However, its prototype is different from the prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should not be used. C<< File::Glob::glob() >> was deprecated in Perl 5.8. A deprecation message was issued from Perl 5.26 onwards, and the function will disappear in Perl 5.30. Code using C<< File::Glob::glob() >> should call C<< File::Glob::bsd_glob() >> instead. =head3 Unescaped left braces in regular expressions The simple rule to remember, if you want to match a literal C<{> character (U+007B C<LEFT CURLY BRACKET>) in a regular expression pattern, is to escape each literal instance of it in some way. Generally easiest is to precede it with a backslash, like C<\{> or enclose it in square brackets (C<[{]>). If the pattern delimiters are also braces, any matching right brace (C<}>) should also be escaped to avoid confusing the parser, for example, qr{abc\{def\}ghi} Forcing literal C<{> characters to be escaped will enable the Perl language to be extended in various ways in future releases. To avoid needlessly breaking existing code, the restriction is is not enforced in contexts where there are unlikely to ever be extensions that could conflict with the use there of C<{> as a literal. Literal uses of C<{> were deprecated in Perl 5.20, and some uses of it started to give deprecation warnings since. These cases were made fatal in Perl 5.26. Due to an oversight, not all cases of a use of a literal C<{> got a deprecation warning. These cases started warning in Perl 5.26, and they will be fatal by Perl 5.30. =head3 Unqualified C<dump()> Use of C<dump()> instead of C<CORE::dump()> was deprecated in Perl 5.8, and an unqualified C<dump()> will no longer be available in Perl 5.30. See L<perlfunc/dump>. =head3 Using my() in false conditional. There has been a long-standing bug in Perl that causes a lexical variable not to be cleared at scope exit when its declaration includes a false conditional. Some people have exploited this bug to achieve a kind of static variable. Since we intend to fix this bug, we don't want people relying on this behavior. Instead, it's recommended one uses C<state> variables to achieve the same effect: use 5.10.0; sub count {state $counter; return ++ $counter} say count (); # Prints 1 say count (); # Prints 2 C<state> variables were introduced in Perl 5.10. Alternatively, you can achieve a similar static effect by declaring the variable in a separate block outside the function, eg sub f { my $x if 0; return $x++ } becomes { my $x; sub f { return $x++ } } The use of C<my()> in a false conditional has been deprecated in Perl 5.10, and it will become a fatal error in Perl 5.30. =head3 Reading/writing bytes from/to :utf8 handles. The sysread(), recv(), syswrite() and send() operators are deprecated on handles that have the C<:utf8> layer, either explicitly, or implicitly, eg., with the C<:encoding(UTF-16LE)> layer. Both sysread() and recv() currently use only the C<:utf8> flag for the stream, ignoring the actual layers. Since sysread() and recv() do no UTF-8 validation they can end up creating invalidly encoded scalars. Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring any layers. If the flag is set, both write the value UTF-8 encoded, even if the layer is some different encoding, such as the example above. Ideally, all of these operators would completely ignore the C<:utf8> state, working only with bytes, but this would result in silently breaking existing code. To avoid this a future version of perl will throw an exception when any of sysread(), recv(), syswrite() or send() are called on handle with the C<:utf8> layer. In Perl 5.30, it will no longer be possible to use sysread(), recv(), syswrite() or send() to read or send bytes from/to :utf8 handles. =head3 Use of unassigned code point or non-standalone grapheme for a delimiter. A grapheme is what appears to a native-speaker of a language to be a character. In Unicode (and hence Perl) a grapheme may actually be several adjacent characters that together form a complete grapheme. For example, there can be a base character, like "R" and an accent, like a circumflex "^", that appear when displayed to be a single character with the circumflex hovering over the "R". Perl currently allows things like that circumflex to be delimiters of strings, patterns, I<etc>. When displayed, the circumflex would look like it belongs to the character just to the left of it. In order to move the language to be able to accept graphemes as delimiters, we have to deprecate the use of delimiters which aren't graphemes by themselves. Also, a delimiter must already be assigned (or known to be never going to be assigned) to try to future-proof code, for otherwise code that works today would fail to compile if the currently unassigned delimiter ends up being something that isn't a stand-alone grapheme. Because Unicode is never going to assign L<non-character code points|perlunicode/Noncharacter code points>, nor L<code points that are above the legal Unicode maximum| perlunicode/Beyond Unicode code points>, those can be delimiters, and their use won't raise this warning. In Perl 5.30, delimiters which are unassigned code points, or which are non-standalone graphemes will be fatal. =head3 In XS code, use of various macros dealing with UTF-8. These macros will require an extra parameter in Perl 5.30: C<isALPHANUMERIC_utf8>, C<isASCII_utf8>, C<isBLANK_utf8>, C<isCNTRL_utf8>, C<isDIGIT_utf8>, C<isIDFIRST_utf8>, C<isPSXSPC_utf8>, C<isSPACE_utf8>, C<isVERTWS_utf8>, C<isWORDCHAR_utf8>, C<isXDIGIT_utf8>, C<isALPHANUMERIC_LC_utf8>, C<isALPHA_LC_utf8>, C<isASCII_LC_utf8>, C<isBLANK_LC_utf8>, C<isCNTRL_LC_utf8>, C<isDIGIT_LC_utf8>, C<isGRAPH_LC_utf8>, C<isIDCONT_LC_utf8>, C<isIDFIRST_LC_utf8>, C<isLOWER_LC_utf8>, C<isPRINT_LC_utf8>, C<isPSXSPC_LC_utf8>, C<isPUNCT_LC_utf8>, C<isSPACE_LC_utf8>, C<isUPPER_LC_utf8>, C<isWORDCHAR_LC_utf8>, C<isXDIGIT_LC_utf8>, C<toFOLD_utf8>, C<toLOWER_utf8>, C<toTITLE_utf8>, and C<toUPPER_utf8>. There is now a macro that corresponds to each one of these, simply by appending C<_safe> to the name. It takes the extra parameter. For example, C<isDIGIT_utf8_safe> corresponds to C<isDIGIT_utf8>, but takes the extra parameter, and its use doesn't generate a deprecation warning. All are documented in L<perlapi/Character case changing> and L<perlapi/Character classification>. You can change to use these versions at any time, or, if you can live with the deprecation messages, wait until 5.30 and add the parameter to the existing calls, without changing the names. =head2 Perl 5.28 =head3 Attribute "%s" is deprecated, and will disappear in 5.28 The attributes C<< :locked >> (on code references) and C<< :unique >> (on array, hash and scalar references) have had no effect since Perl 5.005 and Perl 5.8.8 respectively. Their use has been deprecated since. These attributes will no longer be recognized in Perl 5.28, and will then result in a syntax error. Since the attributes do not do anything, removing them from your code fixes the deprecation warning; and removing them will not influence the behaviour of your code. =head3 Bare here-document terminators Perl has allowed you to use a bare here-document terminator to have the here-document end at the first empty line. This practise was deprecated in Perl 5.000, and this will be a fatal error in Perl 5.28. You are encouraged to use the explictly quoted form if you wish to use an empty line as the terminator of the here-document: print <<""; Print this line. # Previous blank line ends the here-document. =head3 Setting $/ to a reference to a non-positive integer You assigned a reference to a scalar to C<$/> where the referenced item is not a positive integer. In older perls this B<appeared> to work the same as setting it to C<undef> but was in fact internally different, less efficient and with very bad luck could have resulted in your file being split by a stringified form of the reference. In Perl 5.20.0 this was changed so that it would be B<exactly> the same as setting C<$/> to undef, with the exception that this warning would be thrown. In Perl 5.28, this will throw a fatal error. You are recommended to change your code to set C<$/> to C<undef> explicitly if you wish to slurp the file. =head3 Limit on the value of Unicode code points. Unicode only allows code points up to 0x10FFFF, but Perl allows much larger ones. However, using code points exceeding the maximum value of an integer (C<IV_MAX>) may break the perl interpreter in some constructs, including causing it to hang in a few cases. The known problem areas are in C<tr///>, regular expression pattern matching using quantifiers, as quote delimiters in C<qI<X>...I<X>> (where I<X> is the C<chr()> of a large code point), and as the upper limits in loops. The use of out of range code points was deprecated in Perl 5.24, and it will be a fatal error in Perl 5.28. If your code is to run on various platforms, keep in mind that the upper limit depends on the platform. It is much larger on 64-bit word sizes than 32-bit ones. =head3 Use of comma-less variable list in formats. It's allowed to use a list of variables in a format, without separating them with commas. This usage has been deprecated for a long time, and it will be a fatal error in Perl 5.28. =head3 Use of C<\N{}> Use of C<\N{}> with nothing between the braces was deprecated in Perl 5.24, and will throw a fatal error in Perl 5.28. Since such a construct is equivalent to using an empty string, you are recommended to remove such C<\N{}> constructs. =head3 Using the same symbol to open a filehandle and a dirhandle It used to be legal to use C<open()> to associate both a filehandle and a dirhandle to the same symbol (glob or scalar). This idiom is likely to be confusing, and it was deprecated in Perl 5.10. Using the same symbol to C<open()> a filehandle and a dirhandle will be a fatal error in Perl 5.28. You should be using two different symbols instead. =head3 ${^ENCODING} is no longer supported. The special variable C<${^ENCODING}> was used to implement the C<encoding> pragma. Setting this variable to anything other than C<undef> was deprecated in Perl 5.22. Full deprecation of the variable happened in Perl 5.25.3. Setting this variable will become a fatal error in Perl 5.28. =head3 C<< B::OP::terse >> This method, which just calls C<< B::Concise::b_terse >>, has been deprecated, and will disappear in Perl 5.28. Please use C<< B::Concise >> instead. =head3 Use of inherited AUTOLOAD for non-method %s() is deprecated As an (ahem) accidental feature, C<AUTOLOAD> subroutines are looked up as methods (using the C<@ISA> hierarchy) even when the subroutines to be autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). This bug will be rectified in future by using method lookup only for methods' C<AUTOLOAD>s. The simple rule is: Inheritance will not work when autoloading non-methods. The simple fix for old code is: In any module that used to depend on inheriting C<AUTOLOAD> for non-methods from a base class named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during startup. In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> you should remove AutoLoader from @ISA and change C<use AutoLoader;> to C<use AutoLoader 'AUTOLOAD';>. This feature was deprecated in Perl 5.004, and will be fatal in Perl 5.28. =head3 Use of code points over 0xFF in string bitwise operators The string bitwise operators, C<&>, C<|>, C<^>, and C<~>, treat their operands as strings of bytes. As such, values above 0xFF are nonsensical. Using such code points with these operators was deprecated in Perl 5.24, and will be fatal in Perl 5.28. =head3 In XS code, use of C<to_utf8_case()> This function is being removed; instead convert to call the appropriate one of: L<C<toFOLD_utf8_safe>|perlapi/toFOLD_utf8_safe>. L<C<toLOWER_utf8_safe>|perlapi/toLOWER_utf8_safe>, L<C<toTITLE_utf8_safe>|perlapi/toTITLE_utf8_safe>, or L<C<toUPPER_utf8_safe>|perlapi/toUPPER_utf8_safe>. =head2 Perl 5.26 =head3 C<< --libpods >> in C<< Pod::Html >> Since Perl 5.18, the option C<< --libpods >> has been deprecated, and using this option did not do anything other than producing a warning. The C<< --libpods >> option is no longer recognized in Perl 5.26. =head3 The utilities C<< c2ph >> and C<< pstruct >> These old, perl3-era utilities have been deprecated in favour of C<< h2xs >> for a long time. In Perl 5.26, they have been removed. =head3 Trapping C<< $SIG {__DIE__} >> other than during program exit. The C<$SIG{__DIE__}> hook is called even inside an C<eval()>. It was never intended to happen this way, but an implementation glitch made this possible. This used to be deprecated, as it allowed strange action at a distance like rewriting a pending exception in C<$@>. Plans to rectify this have been scrapped, as users found that rewriting a pending exception is actually a useful feature, and not a bug. Perl never issued a deprecation warning for this; the deprecation was by documentation policy only. But this deprecation has been lifted in Perl 5.26. =head3 Malformed UTF-8 string in "%s" This message indicates a bug either in the Perl core or in XS code. Such code was trying to find out if a character, allegedly stored internally encoded as UTF-8, was of a given type, such as being punctuation or a digit. But the character was not encoded in legal UTF-8. The C<%s> is replaced by a string that can be used by knowledgeable people to determine what the type being checked against was. Passing malformed strings was deprecated in Perl 5.18, and became fatal in Perl 5.26. =head2 Perl 5.24 =head3 Use of C<< *glob{FILEHANDLE} >> The use of C<< *glob{FILEHANDLE} >> was deprecated in Perl 5.8. The intention was to use C<< *glob{IO} >> instead, for which C<< *glob{FILEHANDLE} >> is an alias. However, this feature was undeprecated in Perl 5.24. =head3 Calling POSIX::%s() is deprecated The following functions in the C<POSIX> module are no longer available: C<isalnum>, C<isalpha>, C<iscntrl>, C<isdigit>, C<isgraph>, C<islower>, C<isprint>, C<ispunct>, C<isspace>, C<isupper>, and C<isxdigit>. The functions are buggy and don't work on UTF-8 encoded strings. See their entries in L<POSIX> for more information. The functions were deprecated in Perl 5.20, and removed in Perl 5.24. =head2 Perl 5.16 =head3 Use of %s on a handle without * is deprecated It used to be possible to use C<tie>, C<tied> or C<untie> on a scalar while the scalar holds a typeglob. This caused its filehandle to be tied. It left no way to tie the scalar itself when it held a typeglob, and no way to untie a scalar that had had a typeglob assigned to it. This was deprecated in Perl 5.14, and the bug was fixed in Perl 5.16. So now C<tie $scalar> will always tie the scalar, not the handle it holds. To tie the handle, use C<tie *$scalar> (with an explicit asterisk). The same applies to C<tied *$scalar> and C<untie *$scalar>. =head1 SEE ALSO L<warnings>, L<diagnostics>. =cut
SILENT KILLER Tool