perldelta - What's new in Perl since 5.8

This month, Doug Bell will be giving a presentation on just some of the new features and modules added to Perl core in the last 7 years, emphasizing those that have remained stable and useful in later versions.

The presentation will begin at 7:00pm and will run about an hour.

If you upgrade to 5.10 you get:

• say

• state

• defined-or (//)

• Switch (given/when)

• Module::CoreList - List the modules your Perl has in core

If you upgrade to 5.12 you get:

• The yada-yada operator (...)

• each(), keys(), and values() on arrays

• autodie

If you upgrade to 5.14 you get:

• Non-destructive substitution (s///r)

• More reliable exception throwing

• HTTP::Tiny

• JSON::PP

If you upgrade to 5.16 you get:

• Reference to the current running sub (SUB)

If you upgrade to 5.18 you get:

• Lexical subroutines (my sub, our sub, state sub)

Awaiting us in 5.20:

• Hash-based slices (%hash{...} and %array[...])

• Experimental postfix dereference operators ($ref->%*)

• Experimental subroutine signatures (sub mysub( $foo, $bar, @baz ) { ... })

• IO::Socket::IP




Join or login to comment.

  • Fernando F.

    Awesome. I really enjoyed it. Be there next time.

    April 24

  • Andy L.

    I can't make it, but this is a great topic.

    April 21

6 went

Our Sponsors

  • Bank of America

    Bank of America supplies the meeting space.

People in this
Meetup are also in:

Imagine having a community behind you

Get started Learn more
Rafaël

We just grab a coffee and speak French. Some people have been coming every week for months... it creates a kind of warmth to the group.

Rafaël, started French Conversation Group

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy