Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 105 Where The text says that "/fred\w+barney/" |
Date: Sat, 22 Nov 2008 20:52:56 -0800 Note from the Author or Editor: |
Anonymous | Nov 24, 2008 | |
Printed | Page 247 Code at bottom and on next page |
The solutions to exercises 6 and 7 in chapter 12 use modules when the text has yet to even mention what a module is. Note from the Author or Editor: |
Anonymous | Jun 27, 2008 | |
Printed | Page xv below 2nd paragraph |
http://www.oreilly.com/catalog/lperl4/ |
Anonymous | Jan 01, 2006 | |
Printed | Page 4 first line |
It's a retronym, not an acronym.... |
Anonymous | ||
Printed | Page 48 1st sentence of last paragraph |
"That's not to say that this section is in difficult to understand." |
Anonymous | Apr 01, 2006 | |
Printed | Page 52 1st paragraph |
"If the person running the program types three lines and presses the proper keys |
Anonymous | Jan 01, 2006 | |
Printed | Page 52 The instruction line under the "Exercises" heading |
See Appendix Q for answers... |
Anonymous | Jan 01, 2007 | |
Printed | Page 69 Paragraph 3 |
Now, before we go any further, we must be clear about something: this shortcut |
Anonymous | Jan 01, 2006 | |
Printed | Page 70 last paragraph |
If the invocation arguments had been fred- betty, that |
Anonymous | Jan 01, 2007 | |
Printed | Page 95 line 2 |
we could easily see see which ones |
Anonymous | ||
Printed | Page 105 4th Paragraph |
there should not be a space between teh text "/fred w+" and "barney". this may have been a formatting error as the result of the regular experssion being spanned across two lines. |
Anonymous | Sep 01, 2007 | |
Printed | Page 105 4th paragraph |
One of the corrections in the 9/07 reprint was made incorrectly; I will describe this below. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 106 Exercise 4 text changed to |
Make a program that prints each line with a word that contains a |
Anonymous | May 01, 2007 | |
Printed | Page 106 First line of the exercises |
Change the line |
Anonymous | ||
Printed | Page 113 2nd footnote |
the memory of an completed pattern match. |
Anonymous | Jan 01, 2007 | |
Printed | Page 116 first footnote |
A period is missing at the end of the first footnote. |
Anonymous | ||
Printed | Page 129 line 14 |
The line reads Note from the Author or Editor: |
Anonymous | ||
Printed | Page 162 line 4 from the bottom of the page |
The phrase "this is as more efficient" does not make sense. Change this phrase to, for instance, Note from the Author or Editor: |
Anonymous | ||
Printed | Page 168 paragraph 2 |
If we wanted all the non-dot files and we could say that... |
Anonymous | Jan 01, 2007 | |
Printed | Page 177 middle of page |
the sample snippet of code shown does not work. the rmdir() function accepts only a |
Anonymous | ||
Printed | Page 177 middle of page;in addition to my previous note, I should also point out an error in |
the description of the return value for the rmdir() function. |
Anonymous | ||
Printed | Page 179 last paragraph before the exercises |
change the phrase: |
Anonymous | ||
Printed | Page 179 exercise 1, last line |
Change the phrase: |
Anonymous | ||
Printed | Page 191 sample code following paragraph 2 (second error) |
$personal_name{$a} cmp $family_name{$b} or |
Anonymous | Jan 01, 2007 | |
Printed | Page 191 line 1 of the exercises |
Change the phrase |
Anonymous | ||
Printed | Page 198 Last paragraph |
Unlike in the other cases where the word is used, 'system' has not been put in LucasFont's TheSans Mono Condensed, but has been left in Linotype Birka. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 211 6th paragraph |
The last sentence in the paragraph beginning "Well, that worked for Unix" reads "In that case, you'd have that machine's kind of filename string in $name, in that case." I think that you only want "in that case" once. |
Anonymous | ||
Printed | Page 216 Exercises 2 and 3 |
Exercise 2: Get a list of filenames in the current directory. Use the C<Cwd> |
Anonymous | Jan 01, 2006 | |
Printed | Page 216 Exercise 2, third sentence |
"Print the list of paths to standard outout with one path per line." |
Anonymous | Jan 01, 2006 | |
Printed | Page 216 line 1 of the exercises |
Change the phrase |
Anonymous | ||
Printed | Page 230,232,242,252 bottom left label |
Appendix 1: Exercise Answers |
Anonymous | Jan 01, 2007 | |
Printed | Page 230, 231 5th line from the top; the exercise answers were missing numbers and/or incorrectly numbered. |
Page 230,5th line from the top; |
Anonymous | Apr 01, 2006 | |
Printed | Page 232 Six lines above "Answers to Chapter 4 Exercises" |
"Here's one way to do it" NOW READS "3. Here's one way to do it". |
Anonymous | Apr 01, 2006 | |
Printed | Page 234 Exercise answer |
The code stating at the top of the page should read |
Anonymous | ||
Printed | Page 235 The paragraph beginning "Here's one way to do it:" |
Here's one way... |
Anonymous | Jan 01, 2007 | |
Printed | Page 240-241 Exercise 9-1; first code block on page 241, 2nd line |
unless (defined $in) |
Anonymous | May 01, 2007 | |
Printed | Page 240 Part 5. |
The pattern of /s+$/ appears to have an unnecessary +. Since the pattern is searching for a whitespace character at the end of the line, it is unimportant whether or not there are multiple whitespace characters, especially since nothing is being put into memory. Note from the Author or Editor: |
Anonymous | ||
Printed | Page 241 Exercise numbering, line 5 |
"Here's one way to do it:" |
Anonymous | Jan 01, 2006 | |
Printed | Page 241 Answers to exercise 9.4 changed to |
while (<>) { |
Anonymous | May 01, 2007 | |
Printed | Page 241 2nd paragraph, in second line of code for answer to #2 |
This is a chapter 9 exercise. The solution mentions the control structure 'unless', but this Note from the Author or Editor: |
Anonymous | ||
Printed | Page 242 in the fifth exercise, in the last code fragment |
the print statement was previously missing. The code fragment NOW READS: |
Anonymous | Jan 01, 2006 | |
Printed | Page 243 footnote |
The website in the footnote is wrong. Change Note from the Author or Editor: |
Anonymous | ||
Printed | Page 247 exercises 5, 6, and 7 solution |
The solution code used for chapter 12, exercise 5, makes use of modules that have not been covered in the chapter (nor in the book up to this chapter). Modules File::Basename and File::Spec are covered later in the book in Chapter 15 and Appendix B. |
Anonymous | ||
Printed | Page 250 line 25 |
Change the phrase |
Anonymous | ||
Printed | Page 251 paragraph 2; sentence beginning "On the other hand..." |
if you were wanted to obfuscate your code..." |
Anonymous | Jan 01, 2007 | |
Printed | Page 252-253 Answers to Chapter 15 exercises |
The solutions to these exercises previously contained references to modules and Perl code all within "C<" and ">" |
Anonymous | Jan 01, 2006 | |
Printed | Page 252 Heading for Chapter 15 exercises |
Change the heading for Chapter 15 exercises from |
Anonymous | ||
Printed | Page 252 last line of Chapter 15, exercise 1 |
Change |
Anonymous |