Learning Perl by Randal L. Schwartz The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated April 28, 2003. UNCONFIRMED errors and comments from readers: {158} last code example; The foreach loop uses a declared loop variable $filename, but the default variable $_ is used inside the loop. (Probably this was cut-and-pasted from the similar example on p. 166 but the modification wasn't completely carried through) (171) last code example; I beleive that there is a simple type in the code. The code example has the first 2 lines: my $dir_to_process = "/etc"; opendir DH, $dir or die "Cannot open $dir: $!"; Obviously, because I am reading the book I am just a beginner and may have missed something, however I believe that the $dir_to_process scalar variable should just be $dir (or change lines 2 and 4 to have the $dir variables renamed $dir_to_process). (205) 4th line; "unpolite" should be "impolite" (304) index; $$ should be in the index (it's introduced somewhat informally on p. 183)