''Learning Perl'', also known as the llama book, is a tutorial book for the
Perl
Perl is a family of two High-level programming language, high-level, General-purpose programming language, general-purpose, Interpreter (computing), interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it ...
programming language, and is published by
O'Reilly Media
O'Reilly Media (formerly O'Reilly & Associates) is an American learning company established by Tim O'Reilly that publishes books, produces tech conferences, and provides an online learning platform. Its distinctive brand features a woodcut of ...
. The first edition (1993) was authored solely by
Randal L. Schwartz, and covered Perl 4. All subsequent editions have covered Perl 5. The second (1997) edition was coauthored with Tom Christiansen and the third (2001) edition was coauthored with Tom Phoenix. The fourth (2005), fifth (2008), sixth (2011), and seventh (2016) editions were written by Schwartz, Phoenix, and
brian d foy. According to the 5th edition of the book, previous editions have sold more than 500,000 copies.
Unlike ''
Programming Perl'', this book is aimed at computer programmers new to Perl. The publisher offers a complete set of code examples presented in the 3rd Edition book.
Schwartz selected the world of ''
The Flintstones
''The Flintstones'' is an American animated sitcom produced by Hanna-Barbera, Hanna-Barbera Productions. The series takes place in a romanticized Stone Age setting and follows the activities of the titular family, the Flintstones, and their nex ...
'' for the examples in this book, giving rise to the somewhat frequent use of ''Fred'' and ''Barney'' as
metasyntactic variable
A metasyntactic variable is a specific word or set of words identified as a placeholder in computer science and specifically computer programming. These words are commonly found in source code and are intended to be modified or substituted before ...
s, rather than the classic
''foo'' and ''bar''.
Reactions
Brad Morrey, reviewing the book for
InfoWorld
''InfoWorld'' (abbreviated IW) is an information technology media business. Founded in 1978, it began as a monthly magazine. In 2007, it transitioned to a web-only publication. Its parent company today is International Data Group, and its sister ...
, praises the book for its "casual, first person style" and concludes that it "is a terrific introduction to the language that will serve as a good reference book once you have read it through." In his
Linux Journal
''Linux Journal'' (''LJ'') is an American monthly technology magazine originally published by Specialized System Consultants, Inc. (SSC) in Seattle, Washington since 1994. In December 2006 the publisher changed to Belltown Media, Inc. in Housto ...
review of ''Perl in a Nutshell'', Jan Rooijackers recommends that "If you are totally new to programming and you want to learn Perl, the book Learning Perl ... might be a better place to start."
Discussing Schwartz' conviction, the
New York Times
''The New York Times'' (''the Times'', ''NYT'', or the Gray Lady) is a daily newspaper based in New York City with a worldwide readership reported in 2020 to comprise a declining 840,000 paid print subscribers, and a growing 6 million paid ...
noted that "Much of the Internet's World Wide Web has been built by programmers who got their start by reading his "Programming Perl" and "Learning Perl" books." Also reflecting in that case in ''Principles of Information Systems Security'', Gurpreet Dhillon calls ''Learning Perl'', "the definitive Perl instruction guide." In ''Perl Medic'', author Peter Scott calls the book "the most common tutorial for learning Perl", but then criticizes its omission of hard references.
Later works
In 2020, Kylie published a follow-up to ''Learning Perl'' titled ''Learning Perl Objects, References & Modules''. It picks up where ''Learning Perl'' left off. In 2005, ''Learning Perl Objects, References & Modules'' was updated by Schwartz and
brian d foy and re-titled ''
Intermediate Perl'' which is now in its second edition as of 2012. ''
Mastering Perl'', the third book in the trilogy and follow-up to ''Intermediate Perl'', was first published in July 2007 and is also in a second edition as of 2014.
Editions
* First edition (Nov. 1993; 274 pages; )
* Second edition (Jul. 1997; 300 pages; covers Perl 5.004; )
* Third edition (Jul. 2001; 330 pages; covers Perl 5.6;
unhyphenated version for search engines (possibly) )
* Fourth edition (Jul. 2005; 312 pages; covers Perl 5.8; )
* Fifth edition (Jul. 2008; 348 pages; covers Perl 5.10; )
* Sixth edition (Jun. 2011; 390 pages; covers Perl 5.14; )
* Seventh edition (Oct. 2016; 394 pages; covers Perl 5.24; )
* Eighth edition (Aug. 2021; 398 pages; covers Perl 5.34; )
References
External links
Learning Perl's companion websiteO'Reilly Online catalog: Learning Perl, 8th Edition*
*
{{Perl
1993 fiction books
1997 non-fiction books
2001 non-fiction books
2005 non-fiction books
2008 non-fiction books
2011 non-fiction books
O'Reilly Media books
Books about Perl