Skip to content

The Effective Perler

Effective Perl Programming – write better, more idiomatic Perl

  • TOC
  • Errata
  • About

Perl v5.28 new features

Perl v5.28 has a few new features and several removals of old features that you shouldn’t have been using anyway (so I’m not going to mention them).


  • The zero-width heredoc delimiter is fatal
  • Beware of the removal of when in Perl v5.28 (now reverted but not dead)
  • In-place editing doesn’t replace the original file until you are done
  • Regex alpha assertions give maintainers a better clue about which feature you’re using
  • delete now works on key/value slices.
  • Subroutines no longer need type globs.
  • Opening the same symbol as both a file and directory handle is no longer allowed
  • Avoid mixed Unicode scripts (a data spoofing tactic)
  • Initialisation of aggregate state variables
  • String- and numeric-specific bitwise operators introduced in v5.22 are no longer experimental
  • Unquoted bare heredocs are now fatal
  • Updated to Unicode 10
Author brian d foyPosted on August 11, 2017May 12, 2022Categories 5.28, new features

Post navigation

Previous Previous post: Deprecation warnings now tell you when the features will disappear
Next Next post: keys in scalar context now returns the number of keys
Effective Programming Perl book cover


Latest Items

  • Perl v5.36 new features
  • Goodbye fake multidimensional data structures
  • switch removed from the v5.36 feature bundle
  • Know if something is a boolean

Topics

Archives

External Links

  • Amazon.com
  • publisher catalog page
  • InformIT page (book and PDF)
  • Safari Books Online
  • eBooks (PDF and ePub)
  • TOC
  • Errata
  • About
The Effective Perler Proudly powered by WordPress