2024
- Insignificant whitespace in brace constructs
- Perl v5.40 New Features
- Iterate over multiple elements at the same time
- Automatically turn on warnings
- Slurp a file from the command line with -g
- Know if something is a boolean
- switch removed from the v5.36 feature bundle
- Goodbye fake multidimensional data structures
- Perl v5.36 new features
2023
2020
- Use the infix class instance operator
- Perl v5.32 new features
- Use a variable-width lookbehind if it won't match more than 255 characters
- Chain comparisons to avoid excessive typing
- Turn off indirect object notation
- Match Unicode character names with a pattern
- Match Unicode property values with a wildcard
2019
2018
- Unquoted empty heredoc terminators are now fatal
- Perl v5.26 now recognizes version control conflict markers
- Initialize array and hash variables with state
- Perl v5.28 can delete key-value slices
- Avoid perl housekeeping for hot loop optimization
- Find the new emojis in Perl's Unicode support
- Use Unicode 10 in Perl v5.28
- Mix assignment and reference aliasing with declared_refs
- Undef a scalar to release its memory
- Use @{^CAPTURE} to get a list of all the capture buffers
- Perl v5.30 lets you match more with the general quantifier
- Perl v5.30 new features
2017
- v5.26 removes dot from @INC
- /xx means more meaningless whitespace (and that's good)
- You must escape the left brace in a regex
- Deprecation warnings now tell you when the features will disappear
- Perl v5.28 new features
- keys in scalar context now returns the number of keys
- Don't use POSIX to create temporary files
- Beware of the removal of when in Perl v5.28
- In-place editing gets safer in v5.28
2016
2015
- Don't use named lexical subroutines
- Perl v5.18 adds character class set operations
- Use the :prototype attribute
- Use v5.20 subroutine signatures
- Perl 5.22 new features
- Use Perl 5.22's operator for safe command-line handling
- Perl v5.22 adds hexadecimal floating point literals
- Make bitwise operators always use numeric context
- Create named variable aliases with ref aliasing
- Turn capture groups into cluster groups
- Use /aa to get ASCII semantics in regexes, for reals this time
- Use subroutine signatures with anonymous subroutines
- Apple recommends installing your own perl
2014
- Perl 5.20 new features
- Perl 5.20 uses its own random number generator
- Perl 5.20 optimizes return at the end of a subroutine
- Perl 5.20 introduces "Key/Value Slices"
- In v5.20, -F implies -a implies -n
- Perl v5.20 combines multiple my() statements
- Use postfix dereferencing
- Perl v5.20 fixes taint problems with locale
- Use a computed label with loop controllers
- Perl v5.16 now sets proper magic on lexical $_
- Enforce ASCII semantics when you only want ASCII
2013
2012
- The Effective Perler in 2012 and beyond
- Understand the order of operations in double quoted contexts
- Use __SUB__ to get a reference to the current subroutine
- Fold cases properly
- Look up Unicode properties with an inversion map
- Don't use auto-dereferencing with each or keys
- Hide namespaces from PAUSE
- Declare your Pod encoding
- Effective Perler discounts during OSCON
- The Perl 5.12 yada yada operator
- Ignore part of a substitution's match
2011
- Create random strings
- Use the \N regex character class to get "not a newline"
- Know your character classes under different semantics
- Use Regexp::Common to find locale-specific dates
- Build a new perl in parallel for fast results
- Know your sort orders
- Use Data::Dump filters for nicer pretty-printing
- Choose the right Perl distribution for you
- Find dates with Regexp::Common
- Choose the right Perl version for you
- Use Test::More as you experiment
- Know the phases of a Perl program's execution
- Know the two different forms of eval
- Understand Perl's default inheritance model
- Use the > and < pack modifiers to specify the architecture
- Read a few lines from a file
- Use DateTime to disprove internet calendar memes
- Use the C3 method resolution order in multiple inheritance
- Understand autovivification
- Use Git::CPAN::Patch to make quick patches to CPAN distributions
- Pass the empty subclass test
- Understand the Test Anything Protocol
- Override die with END or CORE::GLOBAL::die
- Use for() instead of given()
- The \R generic line ending
- Set the line number and filename of string evals
- Treat Unicode strings as grapheme clusters
- Set default regular expression modifiers
- Perl 5.16 new features
- Hide low-level details behind an interface
- Be careful with Unicode character ranges
- Fix Test::Builder's Unicode issue
- Some special Unicode shell aliases to normalize strings
- Modify XML data with XML::Twig
- Turn off autovivification when you don't want it
- Group tests by their task with Test::More's subtest()
- Use a Task distribution to specify groups of modules
- Know the difference between character strings and UTF-8 strings
- Know the difference between utf8 and UTF-8
- Intercept warnings with a __WARN__ handler
- Normalize your Perl source
- Enchant closures for better debugging output
- Use lookarounds to eliminate special cases in split
- A Chinese translation of Effective Perl Programming
- Return error objects instead of throwing exceptions
- Understand why you probably don't need prototypes
- Use lookarounds to split to avoid special cases
- Profile with Devel::NYTProf
- Make grep-like syntax
- Use Data::Printer to debug data structures
- Trace your Perl programs
- Know split's special cases
- Make disposable web servers for testing
- Create your own dualvars
- Loose match Unicode character names
- Define grammars in regular expressions
2010
- Effective Perl Programming, the blog
- Effective Perl Programming at Frozen Perl 2010
- Eliminate needless loops and branching
- Get a review copy of Effective Perl Programming
- What's the difference between a list and an array?
- Memory-map files instead of slurping them
- Know what creates a scope
- Manage your Perl modules with git
- Watch out for disappearing strings when you decode
- Effective Perl Programming is in Rough Cuts
- Slides for "Effective Perl: Unicode" at Frozen Perl 2010
- Know how Perl handles scientific notation in string to number conversions.
- Avoid accidently creating methods from module exports
- Make links to per-version tools
- Process XML data with XML::Twig
- Make deep copies
- Install scripts from distributions
- Know the difference between regex and match operator flags
- Use /gc and \G in matches to separate alternations in separate, smaller patterns
- InformIT has an Effective Perl Item: Process HTML with a Perl Module
- Interact with the system when Perl isn't enough
- Effective Perl Programming's table of contents
- Effective Perl Programming is now in stock at Amazon!
- Use DBI_TRACE to follow DBI's work.
- Report any errors you find in Effective Perl Programming
- Know what your the last evaluated expression actually is.
- Effective Perl free sample chapter: Files and Filehandles
- Compare dates as strings when you can.
- Use B::Deparse to see what perl thinks the code is.
- Perl 5.12 new features
- A Chinese translation of Effective Perl Programming is in the works
- Use each() on an array in Perl 5.12.
- Effective Perl Programming is now on Kindle.
- Effective Perl Programming looks better than most on the Kindle.
- Use scalar references to pass large data without copying.
- Use Carp::REPL as an interactive Perl shell.
- Know when and when not to write networking code.
- Effective Perl Programming at YAPC::NA 2010
- Detect regular expression match variables in your code
- Respect the global state of the flip flop operator
- The handful of basic Perl concepts
- Watch out for side effects with `use VERSION`
- Effective Perl Programming is in PDF and ePub
- YAPC::NA 2010 Presentation Slides
- Set custom DBI error handlers
- Keep your programmatic configuration DRY
- Perl Authors Night at Powell's Technical Books
- Locate bugs with source control bisection
- Match Unicode characters by property value
- Turn off Perl 5.12 deprecation warnings, if you dare!
- Implicitly turn on strictures with Perl 5.12
- Do you want extra Effective Perl in Safari Books?
- Don't make Perl do more work than it needs to
- Temporarily remove hash keys or array elements with `delete local`
- Use formats to create paginated, plaintext reports
- Perl 5.14 new features
- Use when() as a statement modifier
- Use branch reset grouping to number captures in alternations
- Understand "global" variables.
- Use the /r substitution flag to work on a copy
- In Perl v5.12, length(undef) returns undef.
- Use rational numbers for arbitrary precision
- Use the return value of given
- Specify any character by its octal ordinal value.
- Set default values with the defined-or operator.
- Use bitfields to index and search data
- Get the first Kindle chapter for free
- Let perl create your regex stringification
- Use the return value from srand
- Compile a development version of perl
- Effective Perl giveaways at conferences
- Use array references with the array operators
- Avoid modifying scalars connected to string filehandles
- Read Effective Perl Programming on the Safari Books Online mobile site
- Use CORE when you need the real thing
- Make exclusive flip-flop operators
- Try the Safari Books iPad application (well, not yet)
- Make your methods know as little as possible
- Force install a module to reinstall it
- Count the number of times a character occurs in a string
- Find a module's release managers
- Effective Perl Programming at Frozen Perl 2011
- Perl 5.14 adds non-destructive transliteration
- Use a smart match to match several patterns at once
- The Effective Perler in 2010