ArticleslgStudy

science

Learning Perl

Learning Perl is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Learning Perl rather than just read about it. In short: 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.

Learning Perl — main illustration
Learning Perl — illustration

Key takeaways

  • Learning Perl belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Learning Perl to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Learning Perl from memory before moving on to harder problems.

Reference excerpt

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), sixth (2011), seventh (2016), and eighth (2021) 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 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." 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.

Later works 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 first published in July 2007 and is also in a second edition as of 2014.

Editions First edition (Nov. 1993; 274 pages; ISBN 1-56592-042-2) Second edition (Jul. 1997; 300 pages; covers Perl 5.004; ISBN 1-56592-284-0) Third edition (Jul. 2001; 330 pages; covers Perl 5.6; ISBN 0-596-00132-0 unhyphenated version for search engines (possibly) ISBN 0-596-00132-0) Fourth edition (Jul. 2005; 312 pages; covers Perl 5.8; ISBN 0-596-10105-8) Fifth edition (Jul. 2008; 348 pages; covers Perl 5.10; ISBN 0-596-52010-7) Sixth edition (Jun. 2011; 390 pages; covers Perl 5.14; ISBN 1-4493-0358-7) Seventh edition (Oct. 2016; 394 pages; covers Perl 5.24; ISBN 1-4919-5432-9) Eighth edition (Aug. 2021; 398 pages; covers Perl 5.34; ISBN 978-1-49-209495-1)

References

External links Learning Perl's companion website O'Reilly Online catalog: Learning Perl, 8th Edition "O'Reilly Learning Perl, 6th Edition errata". O'Reilly. Retrieved November 9, 2021. Learning Perl at Open Library

Worked examples

Example 1 — a first encounter with Learning Perl

Start with the simplest possible case. Write down what Learning Perl claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Learning Perl before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Learning Perl ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Learning Perl

In research
Learning Perl appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Learning Perl in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Learning Perl is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1993 non-fiction books, 1997 non-fiction books, 2001 non-fiction books, so understanding it makes those chapters shorter.
In everyday life
Look for Learning Perl outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Learning Perl” →

How to study Learning Perl in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Learning Perl means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Learning Perl out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Learning Perl in simple terms?

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.

Why does Learning Perl matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Learning Perl?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Learning Perl.

Tags

  • 1993 non-fiction books
  • 1997 non-fiction books
  • 2001 non-fiction books
  • 2005 non-fiction books
  • 2008 non-fiction books
  • 2011 non-fiction books
  • Books about Perl
  • O'Reilly Media books

Keep exploring