Perl5-IDEA icon indicating copy to clipboard operation
Perl5-IDEA copied to clipboard

Perl 5.28 Support

Open hurricup opened this issue 6 years ago • 0 comments

<< Perl 5.26 | Perl 5.30 >>

Reference: https://perldoc.perl.org/perl5280delta.html

Core Enhancements

  • Unicode 10.0 is supported
  • delete EXPR on 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 -i is now safer
  • Initialisation of aggregate state variables
  • Full-size inode numbers
  • The sprintf %j format 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 :locked and :unique attributes 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_MAX are now fatal
  • The B::OP::terse method has been removed
  • Use of inherited AUTOLOAD for non-methods is no longer allowed
  • Use of strings with code points over 0xFF is not allowed for bitwise string operators
  • Setting ${^ENCODING} to a defined value is now illegal
  • Backslash no longer escapes colon in PATH for the -S switch
  • 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,BITS on strings with code points above 0xFF is 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.32
  • B::Debug
  • Locale::Codes and its associated Country, Currency and Language modules

Removal of use vars

  • The usage of use vars has been discouraged since the introduction of our in Perl 5.6.0. Where possible the usage of this pragma has now been removed from the Perl source code.

hurricup avatar Aug 13 '19 03:08 hurricup