Errata

Learning Perl

Errata for Learning 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

Version Location Description Submitted by Date submitted
Printed Page 69
3rd paragraph

Is the last two word "lexical scope"?

Ruey-Cherng Yu  Mar 10, 2022 
Printed Page 207
Path::Class

It appears that some text is missing just before the code, as "dir", "subdir", "parent", and "as_foreign" (NOT the variables) are introduced without explanation. There is also no "use Path::Class;" in the code .

"The Path::Class module, which doesn't come with Perl, gives you a more pleasant interface:

my $dir = dir ( qw(Users fred lib) );
.
.
.
"

Gregory Sherman  Aug 08, 2022 
Printed Page 226
3rd paragraph and its code example

Does the italian formed "my_program" in 3rd paragraph mean "show_my_cwd"?
Since the name of example program in code example is "show_my_cwd"

Ruey-Cherng Yu   Apr 05, 2022 
Printed Page 260
middle of page

There appears to be text and code missing and/or out of place:

"...Compare that with this security problem:
system "tar cvf $tarfile @dirs"; #Oops!
Here, you've now piped a bunch of stuff into a flintstone command ..."

Gregory Sherman  Aug 10, 2022