|Author||Randal L. Schwartz, brian d foy, Tom Phoenix|
|Media type||Print, Ebook|
Learning Perl, also known as the llama book, is a tutorial book for the Perl programming language, and is published by O'Reilly Media. 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) and sixth (2011) 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 free sample of the 4th Edition's Chapter Eleven as well as a complete set of code examples presented in the 3rd Edition book.
Schwartz selected the world of The Flintstones for the examples in this book, giving rise to the somewhat frequent use of Fred and Barney as metasyntactic variables, rather than the classic foo and bar.
Brad Morrey, reviewing the book for Infoworld, 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 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 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.
In 2003, Schwartz 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 published in July 2007.
- First edition (1993; 274 pages; ISBN 1-56592-042-2)
- Second edition (1997; 300 pages; covers Perl 5.004; ISBN 1-56592-284-0)
- Third edition (2001; 330 pages; covers Perl 5.6; ISBN 0-596-00132-0 )
- Fourth edition (2005; 312 pages; covers Perl 5.8; ISBN 0-596-10105-8)
- Fifth edition (2008; 348 pages; covers Perl 5.10; ISBN 0-596-52010-7)
- Sixth edition (2011; 390 pages; covers Perl 5.14; ISBN 1-4493-0358-7)
- Castro, Elizabeth (2001). Perl and CGI for the World Wide Web. Peachpit Press. p. 314. ISBN 978-0-201-73568-0. Retrieved June 23, 2011.
- Learning Perl, 5th ed., p. 1
- Morrey, Brad (August 3, 1998). "Putting Perl to Work: Fine-tune your web development skills with this updated book". Infoworld. p. 75. Retrieved June 23, 2011.
- Rooijackers, Jan (October 1, 1999). "Perl in a Nutshell". Linux Journal. Retrieved June 23, 2011.
- Lewis, Peter H. (November 27, 1995). "TECHNOLOGY: ON THE NET; An Intel computer security expert runs afoul of the law. So much for the 'hacker ethic'?". The New York Times. Retrieved June 23, 2011.
- Dhillon, Gurpreet (2007). Principles of Information Systems Security: text and cases. John Wiley & Sons. p. 196. ISBN 978-0-471-45056-6. Retrieved June 23, 2011.
- Scott, Peter J. (2004). Perl Medic: Transforming Legacy Code. Addison-Wesley Professional. p. 150. ISBN 978-0-201-79526-4. Retrieved June 23, 2011.
- O'Reilly Online catalog: Learning Perl, 6th Edition
- "O'Reilly Learning Perl, 6th Edition errata". O'Reilly. Retrieved July 15, 2015.
- Learning Perl on Open Library at the Internet Archive