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

Perl 5.22 Support

Open hurricup opened this issue 9 years ago • 1 comments

<< Perl 5.20 | Perl 5.24 >>

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

Features:

  • New operators &. |. ^. ~. with their assignment counterparts &.= |.= ^.= ~.= , experimental (bitwise) #2210
  • Double diamond operator << >> - #2212
  • [x] Non-capturing regex flag n
  • [ ] Aliasing via deref. Generally works, but foreach \%hash (@array_of_hash_refs) { ... } doesn't, experimental (refaliasing)
  • [ ] hexadecimal floating point literals 0x1.23p-4, see here
  • [ ] In double-quotish \cX, X must now be a printable ASCII character. This is not yet implemented
  • [ ] Omiting % or @ is no longer permitted
  • [ ] defined(@array) and defined(%hash) are now fatal errors
  • [ ] Using a hash or an array as a reference are now fatal errors %foo->{"bar"}
  • [ ] deprecated Inlining of sub () { $var } with observable side-effects
  • [ ] deprecated Use of multiple /x regexp modifiers
  • [ ] A literal "{" should now be escaped in a pattern. escape, brakets or \Q

hurricup avatar Jul 03 '16 13:07 hurricup

+1 for string bitwise operators.

elcamlost avatar Sep 26 '19 15:09 elcamlost