Errata

Perl in a Nutshell

Errata for Perl in a Nutshell, Second Edition

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 52
6 lines from the bottom

"The conditional is evaluated first with the while and until modifiers except when
applied to ado {} statement . . . "

NOW READS:
"...applied to a do {} statement..."

Anonymous    Jun 01, 2005
Printed
Page 58
PREMATCH Variable

$'
$PREMATCH

should be:

$`
$PREMATCH

Anonymous    May 22, 2015
Printed
Page 66
2nd Paragraph under "Pattern-Matching Operators" heading

m/pattern/gimosxe
->
m/pattern/gimosx

#######################################

Anonymous    May 01, 2007
Printed
Page 173
Tie::Memorize is actually Tie::Memoize.

Anonymous    May 22, 2015
Printed
Page 302
3rd paragraph, under Net::FTP

Implements a simple FTP client in Perl (see Chapter 16).
->
Implements a simple FTP client in Perl (see Chapter 18).

#######################################

Anonymous    May 01, 2007
Printed
Page 344

Test::More is called "Yet another framework for writing test scripts.
Its more flexible successor is Test::Builder"

NOW READS:
"Test::More a more flexible successor to Test::Builder, which you
probably don't -- or won't -- need to deal with directly. That is to
say, Test::More is built on top of Test::Builder, and makes your life
easier."

Anonymous    Jun 01, 2005
Printed
Page 375
Topmost Perl script, 2nd line

print << EOF
->
print <<EOF;

#######################################

Anonymous    May 01, 2007
Printed
Page 375
Topmost Perl script, lines 8-12

$ENV{'SERVER_NAME'}<BR>
$ENV{'SERVER_PORT'}<BR>
$ENV{'SERVER_SOFTWARE'}<BR>
$ENV{'SERVER_PROTOCOL'}<BR>
$ENV{'GATEWAY_INTERFACE'}<BR>

->

$ENV{'SERVER_NAME'}
$ENV{'SERVER_PORT'}
$ENV{'SERVER_SOFTWARE'}
$ENV{'SERVER_PROTOCOL'}
$ENV{'GATEWAY_INTERFACE'}

#######################################

Anonymous    May 01, 2007
Printed
Page 397
line 26 (syntax example in mid-page) under textfield

print $query->textfield(-name=>'name',
-default=>'value',

->

print $query->textfield(-name=>'name',
-value=>'value',

#######################################

Anonymous    May 01, 2007
Printed
Page 437,439
Right edge of the page

The text in the black box at the right edge of the page reads "XML and SOAP" but the
chapter is "SOAP".

Anonymous   
Printed
Page 464

$mailer = Mail::Mailer->new('sendmail)';

NOW READS:
$mailer = Mail::Mailer->new('sendmail');

Anonymous    Jun 01, 2005
Printed
Page 527
code block

"use URI::URL;" HAS BEEN ADDED to the top of the code block

Also,

"$url = URI::URL->new('www.ora ..."

NOW READS:
$url = URI::URL->new('http://www.ora ...".

Anonymous    Jun 01, 2005
Printed
Page 556
2nd code example

my $html = '<p>Some Text. <a href="http://blah"My name is Nate!</a></p>';

NOW READS:
my $html = '<p>Some Text. <a href="http://blah">My name is Nate!</a></p>';

Anonymous    Jun 01, 2005
Printed
Page 566
Section "path_query"

Sets and gets the escapted path and query components.
->
Sets and gets the escaped path and query components.

#######################################

Anonymous    May 01, 2007
Printed
Page 566
Section "path_segments", 2nd sentence

In a scalar content, ...
->
In a scalar context, ...

#######################################

Anonymous    May 01, 2007
Printed
Page 566
Section "path_segments", 3rd sentence

In a list contents, ...
->
In a list context, ...

#######################################

Anonymous    May 01, 2007
Printed
Page 726
right column of index

"rotocols_forbidden()" should read "protocols_forbidden()"

Anonymous    May 22, 2015