Streamlining and simplifying your Perl code using Map, Grep, and Sort

Streamlining and simplifying your Perl code using Map, Grep, and Sort

By Daina Pettit
Date: Monday, 8 June 2015 16:30
Duration: 50 minutes
Target audience: Beginner
Language: English
Tags: functional grep map programming sort

You can find more information on the speaker's site:


Map, Grep, and Sort are powerful Perl built-in functions that can simplify your code and improve performance.

New Perl users often skip learning about these three functions because they are considered an advanced topic and may not use them to their full advantage when they do use them. Experienced Perl users exploit these functions in amazing ways, but often the result is a confusing mess of unreadable and thus unmaintainable code. Refactoring existing code into these functions where appropriate can significantly improve the quality of the code *and* improve performance as well.

This talk will present how to take advantage of these powerful functions and have the resulting code understandable.

An abbreviate 20 minute version of this 50 minute talk was given at YAPC::NA 2014.


Attended by: Daina Pettit, Beth Rhinelander, matt minkin, Kent Schaeffer, Rick Bychowski (‎rickbike‎), James Morgan (‎Ven'Tatsu‎), Garth Mortensen, J. Maslak, Joseph Alsop, morgan jones, Jason Terry, Josh Lavin (‎digory‎), Armin Resch, Jack Killilea (‎jrK‎), Ted Killilea, Wesley Lattin (‎Wes‎), Gary Norton, Jason Fuller,