Errata

Perl Testing: A Developer's Notebook

Errata for Perl Testing: A Developer's Notebook

Submit your own errata for this product.

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 xvii
2nd para under "Acknowledgments"

"David Adler" should be "David H. Adler"

Anonymous   
Printed
Page 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."

Anonymous   
Printed
Page 15
Line 4

Change the use_ok() line once more:

BEGIN { use_ok( 'AnalyzeSentence', @subs, '$WORD_SEPARATOR') or exit; }

Should instead read:

Change the <my @subs> and <use_ok()> lines to:

BEGIN
{
my @subs = qw( words count_words );
use_ok( 'AnalyzeSentence', @subs, '$WORD_SEPARATOR' ) or exit;
}

Anonymous   
Printed
Page 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".

Anonymous   
Printed
Page 48
code

our@EXPORT
should be:
our @EXPORT

Anonymous   
Printed
Page 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()).

Anonymous   
Printed
Page 54
second code listing, the emboldened command should start with

./new_harness
instead of:
new_harness

Anonymous   
Printed
Page 54
code portions

Tested passed
should be:
Tests passed

Anonymous   
Printed
Page 57-58
in the source of run_smoketest.pl

my ($revision, $path, $failures) = @_;
..should be...
my ($path, $revision, $failures) = @_;

Anonymous   
Printed
Page 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.

Anonymous   
Printed
Page 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

Anonymous   
Printed
Page 76
Second paragraph of actual body text

s/such a a string/such a string/

Anonymous   
Printed
Page 151
First paragraph, third line

s/testingframeworks/testing frameworks

Anonymous   
Printed
Page 153
last example

Instead of "prove queue.t", it should read, "prove -v queue.t"

Anonymous   
Printed
Page 161
"What about.." answer line 3

"want to to skip"
should be:
"want to skip"

Anonymous   
Printed
Page 161
running prove.t

That paragraph should begin,
Run F<queue_word.t> with F<prove> ...
And the bold command should instead be,
$ prove -v queue_word.t

Anonymous   
Printed
Page 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".

Anonymous