I put together some of our notes for an update to Learning Perl, 6th Edition. That’s not a promise that all of these will make it into the book, but it’s a list of the topics that we think should be important to the beginner Perler.
One of the biggest changes, structurally, will be our integration of Unicode, which Perl has become quite nice at handling since we last wrote Learning Perl. Obviously that will be a large part of the chapter on input and output, but it can affect much earlier chapters, too.
We have a special post to track new features in the recent versions of Perl, which you might like to read while you wait for the next edition.
- Update for Unicode throughout
- updates to
pack
- bring back the chapter on one liners?
- Perl 5.10
- defined-or,
//
- new smart matching rules
\K
escape in s///
- The
autodie
pragma
- Perl 5.12
- Unicode interpretation of
\w
, \d
, \s
- The
...
operator
- Implicit strictures
- Y2038 compliance
\N
regex for “not a newline”
each
on arrays
when
as a statement modifier
delete local
- Perl 5.14
/a
, /d
, /u
match flags
/r
on s///
and tr///
given
and do
\o{...}
for octals