Perl v5.40 New Features

These items are in Perl New Features, a book from Perl School that you can buy on LeanPub or Amazon. Your support helps me to produce more content.


  • builtin adds nan and inf
  • -M command-line switch can now be followed by whitespace
  • importing from an unloaded package name now warns
  • lexical subroutines get some fixes
  • The logical-xor operator ^^ joins && and ||.
  • finally blocks
  • improved uninitialized value warnings