Errata for Intermediate Perl
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.
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
Sorting with Indicies, first/second blocks of code
my @sorted = sort qw(Gilligan Skipper Professor Ginger Mary Ann);
which necessarily results in:
Gilligan Ginger Mary Ann Professor Skipper
would actually print out:
Ann Gilligan Ginger Mary Professor Skipper
It most likely was supposed to be:
my @sorted = sort qw(Gilligan Skipper Professor Ginger Mary-Ann);
which prints out correctly:
Gilligan Ginger Mary-Ann Professor Skipper
The hyphen in Mary-Ann was lost or was optimized away possibly when it (the text) was converted from the Unicode 'em-dash' and then back into regular code again, just a theory.
||Oct 20, 2014
Listing for sub dump_data_for_path example
The directory from the sub 'data_for_path' return the %directory as a reference
that gets shifted to $data.
||Sep 23, 2014
|Safari Books Online
I am viewing the book online so I don't have real page numbers. I used 49 as a page number; it means chapter 4, section 9: Simplifying Nested Element References with Arrows,
there is a typo. From the text:
The arrow has to be between nonsubscripty things. Why wouldn’t it be between subscripty things? Well, imagine a reference to the array @all_with_names:
The arrow has to be between subscripty things. Why wouldn’t it be between nonsubscripty things? Well, imagine a reference to the array @all_with_names:
|Robert A MacLeod
||Feb 20, 2014