Skip to content


Close this search box.

Best Perl Books 2024

Learning Perl: Making Easy Things Easy and Hard Things Possible

Learning Perl: Making Easy Things Easy and Hard Things Possible
  • Schwartz, Randal (Author)
  • English (Publication Language)
  • 395 Pages - 09/21/2021 (Publication Date) - O'Reilly Media (Publisher)

by Randal L. Schwartz, Brian D Foy and Tom Phoenix is the book you want, whether you are an experienced programmer, system administrator or web hacker. Nicknamed “the flame” by two generations of users, this bestseller closely follows the popular Perl Introductory course taught by the authors since 1991. This seventh edition covers recent language changes up to version 5.24.

Perl is suitable for almost any task on almost any platform, from short fixes to full web applications. Learning Perl teaches you the basics and shows you how to write programs up to 128 lines, about the size of 90% of Perl programs in use today. Each chapter includes exercises to help you apply what you have just learned. Other book teaches you how to program in Perl, but this book will make you a Perl programmer.

Topics include:

Perl data and variable types
File operations
String manipulation (including Unicode)
Lists and sorting
Process management
Smart match
Use of third-party modules

This is the best Perl book in 2023.

Think Perl 6: How to Think Like a Computer Scientist

Think Perl 6: How to Think Like a Computer Scientist
  • Rosenfeld, Laurent (Author)
  • English (Publication Language)
  • 463 Pages - 06/27/2017 (Publication Date) - O'Reilly Media (Publisher)

by Laurent Rosenfeld and Allen B. Downey allows you to started with perl 6, the younger sister of the Perl programming language. Ideal for beginners, this how-to book includes more than 100 exercises with multiple solutions and more than 1000 code samples so you can quickly put what you have learned into practice. Experienced Perl programmers, especially those familiar with Perl 5, will also benefit. Divided into two parts, the book with basic concepts that every working programmer should know including object-oriented Perl and then focuses on different programming paradigms and some more advanced programming techniques and best practices. With two semesters of coursework, this book is the perfect educational tool for computer science beginners in colleges and universities.

Learn basic concepts, including variables, expressions, declarations, functions, conditions, recursion, and loops.
Understand commonly used basic data structures and the most useful algorithms.
Dive into object-oriented programming and learn how to build your own types and methods to extend the language.
Use grammars and regular expressions to analyze textual content.
Find out how functional programming can help you make your code simpler and more expressive

Perl Cookbook: Solutions & Examples for Perl Programmers

Perl Cookbook, Second Edition
  • Used Book in Good Condition
  • Christiansen, Tom (Author)
  • English (Publication Language)

by Tom Christiansen and Nathan Torkington is a comprehensive collection of practical problems, solutions, and examples for anyone programming in Perl. The practical modern day uses book contains hundreds of thoroughly reviewed Perl “recipes” and thousands of examples ranging from short sentences to full-featured applications. The second edition of the Perl Cookbook has been fully updated for Perl 5.8, with significant changes to Unicode support, I / O layers, mod_perl, and new technologies that have appeared since the previous edition of the book. The recipes have been updated to include the latest modules. New recipes have been added to each chapter of the book, and some chapters have almost doubled in size.

Manipulate strings, numbers, dates, arrays, and hashes
Pattern matching and text substitutions
References, data structures, objects and classes.
Signs and exceptions
Screen addressing, menus and graphics applications
Manage other processes
Write secure scripts
Client-server programming
Internet application programming with messaging, news, ftp and telnet
CGI and mod_perl programming
Web programming

Effective Perl Programming: Ways to Write Better, More Idiomatic Perl (Effective Software Development Series) 2nd Edition

Effective Perl Programming: Ways to Write Better, More Idiomatic Perl (Effective Software...
  • Hall / Mcadams / Foy, Joseph N. Hall / Joshua A. McAdams / brian d foy (Author)
  • English (Publication Language)
  • 492 Pages - 04/19/2010 (Publication Date) - Addison-Wesley Professional (Publisher)

by Joseph Hall, Joshua McAdams and Brian Foy bringing together the most up-to-date idioms, strategies, and examples: everything you need to develop more powerful, fluent, expressive, and compact Perl code It covers everything from how to avoid common problems to the latest Perl module best practices. You’ll not only learn how to use Perl correctly; you’ll also discover why these methods work so effectively.

In this episode, there is new coverage of:

Material from the last twelve years of Perl evolution has been reorganized and expanded.
CPAN, databases, distributors, files and filehandles, production Perl, testing, Unicode, and warnings are all covered in eight new chapters.
Perl 5.12, the most recent version of Perl, has been updated.
Examples that are consistently updated to match today’s best idioms

Strings, numbers, lists, arrays, strictures, namespaces, regular expressions, subroutines, references, distributions, inline code, warnings, Perl::Tidy, data munging, Perl one-liners, and much more will all be covered. Every technique follows the same Items structure that made the first version so useful and popular. This is one of the best Perl book in 2023.

Programming Perl

Programming Perl: Unmatched power for text processing and scripting
  • Used Book in Good Condition
  • Christiansen, Tom (Author)
  • English (Publication Language)

by Tom Christiansen, brian d foy, Larry Wall and Jon Orwant remains the reference guide for this handy language. Perl was born as a super-powered word processing utility, but it quickly became a general-purpose programming language that has helped hundreds of thousands of programmers, sysadmins, and enthusiasts like you get their work done.

In this long-awaited Perl programming books to “The Camel”, three renowned Perl authors cover the language up to its current version, Perl 5.14, with a preview of the upcoming 5.16 features. In a world where Unicode is increasingly essential for word processing, Perl offers the best and least painful support of all major languages, easily integrating Unicode everywhere, even in Perl’s most popular feature: Regular Expressions. Important features covered by this Camel book update include:

New keywords and syntax
I / O layers and encodings
The new backslash escapes
Unicode 6.0
Clusters and Unicode Grapheme Properties
Named captures in regular expressions
Recursive and grammatical models
Wide CPAN coverage
Current good practices

Intermediate Perl: Beyond The Basics of Learning Perl

Intermediate Perl: Beyond The Basics of Learning Perl
  • Schwartz, Randal L. (Author)
  • English (Publication Language)
  • 394 Pages - 09/11/2012 (Publication Date) - O'Reilly Media (Publisher)

by Randal L. Schwartz, brian d foy, Tom Phoenix. This book picks up right where Learning Perl leaves off. With Intermediate Perl, you’ll graduate from short scripts to much larger programs, using features that make Perl a general-purpose language. This gentle but thorough guide introduces you to modules, complex data structures, and object-oriented programming.

Each chapter is small enough to be read in just an hour or two, ending with exercises to help you practice what you’ve learned. If you’re familiar with the material in Learning Perl and have the ambition to go further, Intermediate Perl will teach you most of the core Perl language concepts you need for writing robust programs on any platform.

Topics include:

Packages and namespaces
References and scoping, including regular expression references
Manipulating complex data structures
Object-oriented programming
Writing and using modules
Testing Perl code
Contributing to CPAN

Just like Learning Perl, material in this book closely follows the popular introductory Perl course the authors have taught since 1991. This second edition covers recent changes to the language up to version 5.14.

Parsing with Perl 6 Regexes and Grammars: A Recursive Descent into Parsing

Parsing with Perl 6 Regexes and Grammars: A Recursive Descent into Parsing
  • Lenz, Moritz (Author)
  • English (Publication Language)
  • 215 Pages - 12/11/2017 (Publication Date) - Apress (Publisher)

Write good regexes and parsers with the Perl 6 programming language. You’ll see how regexes are used for searching, parsing, and validation: in particular the grammar extension makes them uniquely suitable for parsing, the main focus of this book. Written by Perl 6 expert Moritz Lenz, a core contributor of Rakudo,Parsing with Perl 6 Regexes and Grammarsstarts from the very basics of regular expressions, and then explores how they integrate with regular Perl 6 code. Then follows a deeper exploration of how regexes work under the hood and a discussion of common techniques for constructing regexes and exploring the data under scrutiny. Later material goes beyond relatively simple formats to reusable named regexes and grammars, which permit code reuse in grammars, and shows how to write parsers for more involved data formats. Error reporting and case studies wrap up the topic.
While regexes allow you to search for patterns in text and validate input, Perl 6 regexes advance that concept: you’ll see how they are easier to read, yet much more powerful, than the traditional “Perl-compatible regular expression”. With improved reusability and backtracking control, you will be able to write complete parsers with the help of this book.
What You’ll Learn Discover the building blocks of Perl 6 regexes
Handle regex mechanics and master useful regex techniques
Extract data and work with patterns among these use cases
Reuse named regexes and other grammars as components or templates
Write full parsers, including advanced error reporting and data extraction
Learn how to parse nested scopes and indention-based formats

Modern Perl

Modern Perl
  • Warden, Shane (Author)
  • English (Publication Language)
  • 288 Pages - 11/24/2015 (Publication Date) - Pragmatic Bookshelf (Publisher)

by Chromatic teaches you how Perl really works. It is the only book that fully explains Perl, from its philosophical roots to the pragmatic decisions that help you solve real problems and keep them solved. You will understand how language is articulated and discover the secrets used by the worldwide Perl community. This beloved guide is now completely updated for Perl 5.22.

When you need to solve a problem now, use Perl. When you need to solve a problem correctly, use modern Perl. Find out how to take your skills to the next level, from single line web services to asynchronous web services that support Unicode and everything in between.

Modern Perl will take you from a novice to a seasoned Perl hacker. You will see which features of modern Perl will make you more productive, and which features of this popular language are best preserved in the past. Along the way, you’ll use Perl to write well-tested, clean, and maintainable code that grows with you. Learn how the language works, how to take advantage of CPAN’s vast wealth of proven solutions, and how to write clear, concise, and powerful code that runs anywhere. Specific coverage explains how to use Moose, how to write testable code, and how to implement and maintain real Perl applications.

This new version covers new features in Perl 5.20 and Perl 5.22, including all new operators, standard library changes, bug and security fixes, and productivity improvements. It gives you what you need to use the most up-to-date Perl in the most efficient way possible, all day, every day.

Beginning Perl Programming: From Novice to Professional

Beginning Perl Programming: From Novice to Professional
  • Rothwell, William "Bo" (Author)
  • English (Publication Language)
  • 226 Pages - 07/31/2019 (Publication Date) - Apress (Publisher)

by William “Bo” Rothwell covers pattern matching and shows that Perl is extremely flexible and powerful, and not afraid of the cloud. After reading and using this book, you can begin to write your own powerful scripts to solve many web and programming problems. It’s a book for those of us who thought we didn’t need to learn Perl, and now we know that it’s more ubiquitous than ever. You will see that Perl has become a multipurpose cross-platform language everywhere: robust web applications, cloud, systems administration, natural language processing, and financial engineering. This book provides valuable information about Perl’s role in all of these tasks and more, giving you a good start on your Perl program adventure.

Perform operations on scalar values ​​Use scalar, array, and associative array variables Work with flow control statements such as if, except, while, until, for, and foreach Read and write directly to files with file descriptors Use conditional expressions such as numeric and string comparison, regex, file testing, and Perl statements. Format the output with format declarations. Find and replace substrings in a string using regular expressions. Perl Master Utilities like splitting, joining, indexing and more. Control the filesystem and processes from a Perl script. for tasks that include handling variable scopes Import existing modules into your Perl script.

Perl One-Liners

Perl One-Liners: 130 Programs That Get Things Done
  • Krumins, Peteris (Author)
  • English (Publication Language)
  • 168 Pages - 12/30/2013 (Publication Date) - No Starch Press (Publisher)

by Peteris Krumins is a cookbook of useful, customizable, and fun scripts will even help hone your Perl coding skills. This Perl book contains more than 100 one-liners that do all sorts tasks. You’ll find one-liners Perl programs that generate random passwords, check to see if a number is prime with a regular expression and much more.

© 2023 ReactDOM

As an Amazon Associate I earn from qualifying purchases.