Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Popularly known as "the Llama," Learning Perl is the book most programmers rely on to get started with this versatile language. The bestselling Perl tutorial since it was first published in 1993, this sixth edition includes recent changes to the language up to Perl 5.14 as well as a major overhaul for Unicode. Reflecting years of classroom testing and experience, this edition is packed with exercises that let you practice the concepts while you follow the text.

Subscriber Reviews

Average Rating: 4.714285714285714 out of 5 rating Based on 14 Ratings

"Learning Perl" - by amitm on 26-APR-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
One of the best to-the-point perl book I have come across. Without boring you to death Learning Perl comes straight to the point and yet has enough details to make one understand the "grammar" of the language.

my all time reference.

Report as Inappropriate

"Readable and Useful" - by Richard Armstrong-Finnerty on 28-JAN-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is written in a very readable style that makes learning Perl interesting.

I strongly recommend that the accompanying Learning Perl video series be watched, too, as it definitely adds to the learning process.

Report as Inappropriate

"Great for beginners" - by abuecher on 10-JUN-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
A great book for newcomers to both perl and programming. Good examples, excersizes and an entertaining read. It moves a little slow so the hackers-in-training can keep up. Experienced programmers might prefer the pace and structure of Modern Perl.

Report as Inappropriate

"Learn programing Perl with elementary book" - by Michal Konrad Owsiak on 06-AUG-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Learning Perl is a typical elementary book. You can find there everything, beginner needs. You will be guided through the basics of Perl, elementary data types, structures and conditional loops. What this book reminds me is good old “The C Programming Language” by Kernighan and Ritchie. Authors of Learning Perl simply go step by step and present language specific constructs to the reader. However, this book is not for everybody. It is neither a reference guide, nor a “Learn by example” kind of book. It’s an elementary. You will be though Perl from the very basics and I am pretty sure this is great for people who begin their experience with Perl. What I liked within the book? Well, the “Some Advanced Perl Techniques” chapter – which is unfortunately very short, brought my attention. Another interesting part of the book was devoted to regular expressions, however I missed XML related examples and references. XML is quite important these days and to pass over it is strange thing for me. In general, I’d advise buying it to anyone who wants to learn Perl a consistent way rather than through “found in the Internet” examples. On the other hand, if you are looking for a reference or advanced book on Perl – try finding something else.
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Learning Perl, 6th Edition

  • Catalog Page

Visit the errata page for Learning Perl, 6th Edition

  • Errata

Download the supplemental electronic content for Learning Perl, 6th Edition

  • Supplemental Content