Skip to content
This repository
Browse code

corrected a mistake in interpretation of code examples in prog perl 4th

  • Loading branch information...
commit c6ff768d3afe5cc60f5982d4ed4266e1f9a089c1 1 parent 0fc30f8
authored February 21, 2012 wchristian committed February 21, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  rejected/prog_perl_4th.mdwn
2  rejected/prog_perl_4th.mdwn
Source Rendered
... ...
@@ -1,6 +1,6 @@
1 1
 Programming Perl 4th Edition is a good book, however it is also a book with a lot of history. Huge parts of its contents stem from 1991 and have a very outdated style of Perl. 4th Edition tries to upgrade this somewhat, but did not to so with enough diligence to permit me to recommend it. Some specific issues:
2 2
 
3 3
 * strict and warnings are not higlighted at all. In the preface chapter there are two code examples without strict and one is written as if it was not in effect. In fact, strict first occurs on the 14th page of the first chapter on the third page of a sub-chapter at the bottom of a page.
4  
-* On later pages in the book code examples consistently act as if there was no strict present.
  4
+* <s>On later pages in the book code examples consistently act as if there was no strict present.</s> This was incorrect, $a and $b were being used and are always declared since they're [[magical variables|https://metacpan.org/module/perlvar]]. I'm leaving this here because i think it presents an issue in itself.
5 5
 * given/when and smartmatching are one of the first things highlighted. That is unfortunate since these features are rife with issues, inconsistencies and their future is pretty contentious.
6 6
 * The first filehandles encountered are of the bareword kind. Others have written mounds on why this is not a wise choice and i do not think this should be one of the first things a newbie sees.

0 notes on commit c6ff768

Please sign in to comment.
Something went wrong with that request. Please try again.