Perl Testing: A Developer's Notebook by Ian Langworth, chromatic This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated March 16, 2006. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (xvii) 2nd para under "Acknowledgments"; "David Adler" should be "David H. Adler" (7) third paragraph; "make_test" should be replaced with "make test" (space -> underscore) in the line "The TEST_FILES argument to make_test can simplify this." {15} Line 4; Change the use_ok() line once more: BEGIN { use_ok( 'AnalyzeSentence', @subs, '$WORD_SEPARATOR') or exit; } Should instead read: Change the and lines to: BEGIN { my @subs = qw( words count_words ); use_ok( 'AnalyzeSentence', @subs, '$WORD_SEPARATOR' ) or exit; } (48) second paragraph; The last sentence of the paragraph reads: "Understand what your test suite does not test and why is valuable...". The first word should be "Understanding". (48) code; our@EXPORT should be: our @EXPORT {51} example - between.t; In plain Test::Builder::Tester downloaded from CPAN there is no subroutine called test_pass() so this example doesn't work unless you change test_pass() to sth else (i.e. test_out()). (54), second code listing, the emboldened command should start with: ./new_harness instead of: new_harness (54) code portions; Tested passed should be: Tests passed {57-58} in the source of run_smoketest.pl; my ($revision, $path, $failures) = @_; ..should be... my ($path, $revision, $failures) = @_; (58) 4th line from the end, subject of mail; 1) There is a typo: 'Subect' instead of 'Subject' (same typo exists in sample code, middle of page) 2) Subject mentioned here does not match subject put in the sample code; there is no 'For' and $path included. {74} First code listing, bold text; Second line ending with "...,Taxes::Loophole" should have a trailing backslash to indicate a line continuation: --module=Taxes::Autocomplete,Taxes::Loophole \ (76) Second paragraph of actual body text; s/such a a string/such a string/ (151) First paragraph, third line; s/testingframeworks/testing frameworks (153) last example; Instead of "prove queue.t", it should read, "prove -v queue.t" (161) "What about.." answer line 3; "want to to skip" should be: "want to skip" (161) running prove.t; That paragraph should begin, Run F with F ... And the bold command should instead be, $ prove -v queue_word.t (181) About the authors, 2nd paragraph; In the about the authors section describing Ian Langworth, the last line reads "...making robust and high-qualuty code an easier goal to achieve". "quality" is misspelled "qualuty".