Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Other Digital Version | NA NA |
In the code examples available for download, there is a missing semicolon in line 4 of find_pm_files.pl, which is in the subdirectory perl_hacks_examples/productivity_hacks/autocomplete_perl_identifi |
Anonymous | May 18, 2008 |
Printed | Page 11 second alias |
In cygwin (my version of cygpath was compiled on April 12, 2010) the command |
Anonymous | Sep 02, 2010 |
Printed | Page 17 2nd paragraph |
" For Vim 6.2 (compile for OS X Tiger) the mappings each need "!" after |
Anonymous | |
Printed | Page 36 last line |
"Compiling for Mac (New Age)... -> Code for this output is missing in example |
Anonymous | |
Printed | Page 74 last but one paragraph |
Hack #30 says that Rails automatically notices when you change a library and reloads it. |
Anonymous | |
Printed | Page 88 3rd code example + final paragraph |
Code reads: |
Anonymous | |
Printed | Page 99 footnote |
To be able to do the "fink install" packages marked as "unstable" |
Anonymous | |
Printed | Page 114 code example, 7th line from bottom |
Without "no warnings 'misc';" the warning "Undefined value assigned to typeglob." |
Anonymous | |
Printed | Page 138 code example, line 7 |
"split /s*,?s*/, $call;" -> |
Anonymous | |
Printed | Page 143 code example, line 3 |
"sub divide_by" appears to be misleading since it implies division _by_ the given |
Anonymous | |
Printed | Page 149 "Hacking the Hack", code example, line 1 |
To make this work, the module should either be loaded from within .perldb |
Anonymous | |
Printed | Page 154 last paragraph, 1st sentence |
Interesting bug here. If "sub gives_error" is defined _after_ the two properties |
Anonymous | |
Printed | Page 157 1st paragraph |
The example code does not work because perl is confused by the angle-brackets (<>). Error-message is: readline() on unopened filehandle |
IngoLantschner | Jul 24, 2009 |
Printed | Page 157 Last paragraph of "Running the Hack" |
Proposed invocation does not fit to code on page 156 (confusion singular/plural). |
IngoLantschner | Jul 24, 2009 |
Printed | Page 167 4th paragraph, |
..., pass the -Doptimize='g' flag. |
Hexcoder | Apr 01, 2010 |
Printed | Page 258 1st paragraph |
The text states that unary operations are applied to both ends of the interval, and puts sqrt() as example. That's true for sqrt() because it is monotone increasing, but as explained in the hack the reader could think the same procedure applies to any function, which is not the case. |
Anonymous |