Perl5-IDEA
Perl5-IDEA copied to clipboard
Perl 5.28 Support
Reference: https://perldoc.perl.org/perl5280delta.html
Core Enhancements
- Unicode 10.0 is supported
delete EXPRon key/value hash slices- Experimentally, there are now alphabetic synonyms for some regular expression assertions
- Mixed Unicode scripts are now detectable
- In-place editing with perl
-iis now safer - Initialisation of aggregate state variables
- Full-size inode numbers
- The
sprintf%jformat size modifier is now available with pre-C99 compilers - Close-on-exec flag set atomically
- String- and number-specific bitwise ops are no longer experimental
- Locales are now thread-safe on systems that support them
- New read-only predefined variable
${^SAFE_LOCALES}
Incompatible Changes
- Subroutine attribute and signature order
- Comma-less variable lists in formats are no longer allowed
- The
:lockedand:uniqueattributes have been removed \N{}with nothing between the braces is now illegal- Opening the same symbol as both a file and directory handle is no longer allowed
- Use of bare
<<to mean<<""is no longer allowed - Setting
$/to a reference to a non-positive integer no longer allowed - Unicode code points with values exceeding
IV_MAXare now fatal - The
B::OP::tersemethod has been removed - Use of inherited
AUTOLOADfor non-methods is no longer allowed - Use of strings with code points over
0xFFis not allowed for bitwise string operators - Setting
${^ENCODING}to a defined value is now illegal - Backslash no longer escapes colon in
PATHfor the-Sswitch - the
-DH (DEBUG_H)misfeature has been removed - Yada-yada is now strictly a statement
- Sort algorithm can no longer be specified
- Over-radix digits in floating point literals
- Return type of
unpackstring()
Deprecations
- Use of
vec EXPR,OFFSET,BITSon strings with code points above0xFFis deprecated - Some uses of unescaped
{in regexes are no longer fatal - Use of unescaped
{immediately after a(in regular expression patterns is deprecated - Assignment to
$[will be fatal in Perl 5.30 hostname()won't accept arguments in Perl 5.32B::DebugLocale::Codesand its associated Country, Currency and Language modules
Removal of use vars
- The usage of use vars has been discouraged since the introduction of
ourin Perl 5.6.0. Where possible the usage of this pragma has now been removed from the Perl source code.