Developers: Learn a New Programming Language or App Development with Deitel LiveLessons Videos!
s
menu
menu
Login  |  Register  |  Media Kit  |  Press  |  Contact Us  |   Twitter Become a Deitel Fan on Facebook  
Custom Search



 
AddThis Social Bookmark Button

Errata: Perl How to Program

Last Modified: January 14, 2004

We wish to thank our many readers who took the time to email us with errata. If you find errata not listed on this page, please email us at deitel@deitel.com. Remember to include the book title and edition.


Note: You can determine which printing you have by looking at the bottom of the back of the second physical page in the book (page iv, but it has no page number). Just above the ISBN number is a list of numbers. For the first printing of the book, the list appears as follows:

10 9 8 7 6 5 4 3 2 1

The last number in the list is the printing number. So the above list indicates printing 1 and the following list indicates printing 2:

10 9 8 7 6 5 4 3 2

Chapter 2

  • page 32, Good Programming Practice 2.4: The pi symbol should be 1/4.
  • page 58, answer to self-review exercise 2.3 c:

print “The variable \$number is not equal to 7.\n”;

should be

print “The variable number is not equal to 7.\n”;

 

Chapter 3

  • p. 65: Good Programming Practice 3.1 reads:

    suggest a fixed-size tab of about Π inch..."

    This should read:

    suggest a fixed-size tab of about 1/4 inch..."

  • p. 91: Answers to Self-Review Exercises 3.3b), reads:

    "Count is greater than 10."

    The answer should read:

    "Count is greater than 10."; (missing semicolon.)

Chapter 4

  • Page 110: Paragraph 4, the text "Next, @array is assigned the remaining values..." should contain the text "Next, @array2 is assigned the remaining value..."
  • p.120:

    Line 29 reads:

    $middleIndex = ( $lowIndex $highIndex ) / 2;

    This should read:

    $middleIndex = int(( $lowIndex $highIndex ) / 2);

  • (First Printing) p. 125, Fig.4.17, Line 25 reads:

    while ( ( $key, $value ) = each( %presidents ) ) {

    This should read:

    while ( ( $key, $value ) = each( %hash ) ) {

Chapter 7

  • page 222, Fig. 7.3 Step 1: The GET request should refer to fig07_02.pl, not downloads.html.

 

Chapter 9

  • Page 311, Fig. 9.23, line 10

    eval
    ($line;)

    should be:

    eval
    ( $line );
     

Chapter 10

  • p.330-331: Figure 10.10 is incorrect in the book and on the CD. Get the updated examples at: perlHTP1_examples.zip
    Line 20, "Unable to open file" should be "Unable to close file"

Chapter 12

  • Chapter 12, page 377, beginning of Section 12.6: “od” should be “of.”

Chapter 13

  • Chapter 13, page 413, line 31 of Fig. 13.11: “$element” should be “$$element” [Paul: Provide link to updated code?]

Chapter 15

  • Line 2 should be

#Fig. 15.23: fig15_23.pl

Chapter 16

  • p.540-541: The code in section 16.8 is incorrect in the book and on the CD. Get the updated examples at: perlHTP1_examples.zip

Chapter 24

  • Chapter 24, page 847: “This is because the image we are using here, about.jpg…” should be “This is because the image we are using here, links.jpg…”

© 1992-2005. Deitel & Associates, Inc. All Rights Reserved.

c

 

Discounts on SafariBooksOnline.com subscriptions

 
Perl How to Program Cover


ISBN: 0130284181
© 2001

Order now at
Amazon.com
InformIT.com

Additional Resources
Download Code
Examples and
Other Premium
Content for
Registered Users

Login or Register to download this book's code examples and other premium content.

foot
Update :: April 29, 2017