Perl New Features
$15.00
Minimum price
$29.99
Suggested price

Perl New Features

The evolution of Perl from v5.10 to now.

About the Book

I've collected to "new features" posts from The Effective Perler, updated them, and put them into a single book. Read about the new features, deprecations, and other changes to Perl since v5.8 to v5.32.

About the Author

brian d foy
brian d foy

brian d foy is one of the most profilic authors in the Perl programming community. He's the author of Mastering Perl and Learning Perl 6, and the co-author of Learning Perl, Intermediate Perl, Programming Perl, Effective Perl Programming, and others. He helps people and companies use Perl through education, training, and consulting.

Bundles that include this book

$87.74
Suggested Price
$42.75
Bundle Price

Table of Contents

  • Preface
  • Introduction
  • Perl v5.10
    • Turn on new features implicitly
    • Enable features on the command line
    • Newlines for free
    • Lexically-persistent variables
    • Defined-or
    • Method resolution orders
    • Stacked file test operators
    • Architecture-dependent pack formats
    • UNITCHECK
    • Branch reset numbering
    • Generic line ending
    • Grammars in regex
    • Named captures
    • Relative back references
    • Ignore part of a substitution's match
  • Perl v5.12
    • Specify the package version inline
    • The each operator works on arrays
    • The length of undef is undef
    • Local hash key deletion
    • Not-a-newline character class
    • Get strict for free
    • The yada yada operator
  • Perl v5.14
    • Enforce ASCII semantics when you want only ASCII
    • Default regular expression modifiers
    • Regex stringification changes
    • Specify any character by its octal ordinal value
    • Pure ASCII semantics in regexes
    • non-destructive substitutions
    • Non-destructive transliteration
    • Package blocks
    • Get the pseudorandom seed
  • Perl v5.16
    • Proper case folding
    • Unicode loose name matching
    • Refer to the current subroutine
    • Unicode property inversion map
  • Perl v5.18
    • Computed loop labels
    • The experimental pragma
    • Experimental features warn
    • Character class set operations
    • The vertical tab is part of \s
  • Perl v5.20
    • -F implies -a and -n
    • Key/value slices
    • Fixes to taint problems with locale
    • The prototype attribute
    • Subroutine signatures
  • Perl v5.22
    • Reference aliasing
    • Safe command-line handling with the double diamond
    • Hexadecimal floating point literals
    • Turn all capture groups into cluster groups
    • Fancy unicode word boundaries
  • Perl v5.24
    • Automatic dereferencing is gone
    • Lexical topic is gone
    • Postfix dereferencing
    • Line break word boundary
  • Perl v5.26
    • An array for all capture buffers
    • Deprecation warnings include version
    • @INC Drops the Current Directory
    • keys in scalar context now returns the count
    • Indented heredocs
    • Escape the left brace in a regex
    • Mix assignment and reference aliasing
    • Named lexical subroutines
    • Don't use POSIX to create temporary files
    • Perl v5.26 now recognizes version control conflict markers
    • Comments in character classes
  • Perl v5.28
    • Strictly numeric bitwise operators
    • Delete key-value slices
    • Initialize aggregates in state
    • Safer in-place editing
    • Zero-width heredoc delimiters forbidden
  • Perl v5.30
    • Postfix false conditions forbidden in declarations
    • Fixed single-quoted pre-compiled patterns that use named characters
    • Variable-width lookbehinds
  • Perl v5.32
    • The class instance operator, isa
    • Alpha assertions for extended patterns
    • Match only the same Unicode script
    • Chained comparison operators

Authors have earned$9,883,643writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub