Learning Perl

Last updated
Learning Perl
Learning Perl.jpg
First edition
Author Randal L. Schwartz
PublisherO'Reilly Media
Publication date
1993
Media typePrint, Ebook
Pages394
ISBN 978-1-4919-5432-4 (print),
ISBN   978-1-4919-5426-3 (ebook)

Learning Perl, also known as the llama book, [1] 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), 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. [2]

Contents

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. [3]

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.

Reactions

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." [4] 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." [5]

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." [6] Also reflecting in that case in Principles of Information Systems Security, Gurpreet Dhillon calls Learning Perl, "the definitive Perl instruction guide." [7] In Perl Medic, author Peter Scott calls the book "the most common tutorial for learning Perl", but then criticizes its omission of hard references. [8]

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

Related Research Articles

Perl Interpreted programming language first released in 1987

Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was officially changed to Raku in October 2019.

Randal L. Schwartz American programmer and technology writer

Randal L. Schwartz, also known as merlyn, is an American author, system administrator and programming consultant.

<i>Google Hacks</i>

Google Hacks: Tips & Tools for Smarter Searching is a book of tips about Google, a popular Web search engine, by Tara Calishain and Rael Dornfest. It was listed in the New York Times top ten business paperbacks in May 2003, considered at the time to be "unprecedented" for a technology book, and "even rarer" for the topic of search engines. The book was first published by O'Reilly in February 2002. Third edition of the book was released in 2006.

<i>Programming Perl</i>

Programming Perl, best known as the Camel Book among programmers, is a book about writing programs using the Perl programming language, revised as several editions (1991-2012) to reflect major language changes since Perl version 4. Editions have been co-written by the creator of Perl, Larry Wall, along with Randal L. Schwartz, then Tom Christiansen and then Jon Orwant. Published by O'Reilly Media, the book is considered the canonical reference work for Perl programmers. With over 1,000 pages, the various editions contain complete descriptions of each Perl language version and its interpreter. Examples range from trivial code snippets to the highly complex expressions for which Perl is widely known. The camel book editions are also noted for being written in an approachable and humorous style.

Delimiter Characters that specify the boundary between regions in a data stream

A delimiter is a sequence of one or more characters for specifying the boundary between separate, independent regions in plain text, mathematical expressions or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values. Another example of a delimiter is the time gap used to separate letters and words in the transmission of Morse code.

Robert Love

Robert M. Love is an American author, speaker, Google engineer, and open source software developer.

vile is a text editor that combines aspects of the Emacs and vi editors. These editors are traditionally located on opposing sides of the editor wars, as users of either tend to have strong sentiments against the editor they do not use. vile attempts to reconcile these positions.

<i>Intermediate Perl</i>

Intermediate Perl is a book about the Perl programming language by Randal L. Schwartz, brian d foy and Tom Phoenix, published in 2006 by O'Reilly Media. It was released as a retitled second edition of Learning Perl Objects, References & Modules (ISBN 0-596-00478-8) by Schwartz and Phoenix, published by O'Reilly Media in 2003 to favorable reviews. A second edition of Intermediate Perl was released in 2012.

In computer science, a local variable is a variable that is given local scope. Local variable references in the function or block in which it is declared override the same variable name in the larger scope. In programming languages with only two levels of visibility, local variables are contrasted with global variables. On the other hand, many ALGOL-derived languages allow any number of nested levels of visibility, with private variables, functions, constants and types hidden within them, either by nested blocks or nested functions. Local variables are fundamental to procedural programming, and more generally modular programming: variables of local scope are used to avoid issues with side-effects that can occur with global variables.

Simson Garfinkel

Simson L. Garfinkel is the US Census Bureau's Senior Computer Scientist for Confidentiality and Data Access. Previously, he was a computer scientist at the National Institute of Standards and Technology (2015-2017) and, prior to that, an associate professor at the Naval Postgraduate School in Monterey, California (2006-2015). In addition to his research, Garfinkel is a journalist, an entrepreneur, and an inventor; his work is generally concerned with computer security, privacy, and information technology.

Shelley Powers is an American author, web developer and technology architect. She works with and writes about open source, LAMP technologies and web service development, CSS/XHTML design, web graphics and the use of these technologies in the semantic web.

Steven Feuerstein

Steven Feuerstein is an author focusing on the Oracle database PL/SQL language, having written ten books on PL/SQL, and one book on mySQL, all published by O'Reilly Media. His signature book, Oracle PL/SQL Programming, which many consider the "bible" for PL/SQL developers, was first published in September 1993. It has grown from 916 pages in 1993 to over 1000 pages in its 6th edition, published 20 years later.

brian d foy American computer programmer

brian d foy [sic] is the former publisher and editor of The Perl Review, a magazine devoted to Perl and co-author of several books on Perl including Learning Perl, Intermediate Perl and Mastering Perl. He is also the founder of Perl Mongers, the founder of the White Camel Awards, a frequent speaker at conferences including The Perl Conference and YAPC. He is the author of multiple Perl modules on CPAN and maintains the perlfaq portions of the core Perl documentation. He was a partner at Stonehenge Consulting Services from 1998 to 2009.

Elliotte Rusty Harold is an American computer scientist, lecturer and author of several books on Java and XML and the creator of XOM, an open source Java class library for processing XML data.

Greg Kroah-Hartman American Linux kernel developer

Greg Kroah-Hartman (GKH) is a major Linux kernel developer. As of April 2013 he is the Linux kernel maintainer for the -stable branch, the staging subsystem, USB, driver core, debugfs, kref, kobject, and the sysfs kernel subsystems, Userspace I/O, and TTY layer. He also created linux-hotplug, the udev project, and the Linux Driver Project. He worked for Novell in the SUSE Labs division and, as of 1 February 2012, works at the Linux Foundation.

<i>Perl Cookbook</i>

The Perl Cookbook, ISBN 0-596-00313-7, is a book containing solutions to common short tasks in Perl. Each chapter covers a particular topic area and is divided into around a dozen recipes each on a particular problem. Each recipe has four parts: "Problem", "Solution", "Discussion", and "See Also".

Sean Michael Burke is a Perl programmer, author, and linguist. He was a columnist for The Perl Journal from 1998 and has written several dozen Perl modules for CPAN, as well as books for O'Reilly Media.

<i>Learning the vi and Vim Editors</i> Tutorial book by Arnold Robbins, Elbert Hannah, and Linda Lamb

Learning the vi and Vim Editors is a tutorial book for the vi and vim text editors written by Arnold Robbins, Elbert Hannah, and Linda Lamb and published by O'Reilly Media. The book is in its 7th edition. The book features a tarsier on the cover, an image which was also used on the cover of O'Reilly's Unix in a Nutshell and has been incorporated into O'Reilly Media. When questioned about the animal choice, Publisher Tim O'Reilly described the tarsier as looking "like somebody who had been a text editor for too long."

PerlTidy is a tool written in the Perl programming language to do static code analysis against code written in that same language. It uses either command-line switches or configuration files to reformat Perl scripts so they comply with specified coding rules. The default configuration is an approximation of the Perl Style Guide.

Tom Christiansen

Thomas S. "Tom" Christiansen, nicknamed tchrist or occasionally thoth, is a Unix developer and user known for his work with the Perl programming language.

References

  1. 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.
  2. Learning Perl, 5th ed., p. 1
  3. "Examples / Learning Perl 4th Edition".
  4. 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.
  5. Rooijackers, Jan (October 1, 1999). "Perl in a Nutshell". Linux Journal . Retrieved June 23, 2011.
  6. 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.
  7. 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.
  8. Scott, Peter J. (2004). Perl Medic: Transforming Legacy Code . Addison-Wesley Professional. p.  150. ISBN   978-0-201-79526-4 . Retrieved June 23, 2011. Learning Perl schwartz.