From: Rafael Garcia-Suarez Date: Thu, 24 May 2007 11:17:31 +0000 (+0000) Subject: Doc nits by Steven Schubiger X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d699aa5b29732a7458b7dc824a0b5c53a9854d4f;p=p5sagit%2Fp5-mst-13.2.git Doc nits by Steven Schubiger p4raw-id: //depot/perl@31264 --- diff --git a/pod/perlintro.pod b/pod/perlintro.pod index 201ebea..210890f 100644 --- a/pod/perlintro.pod +++ b/pod/perlintro.pod @@ -63,7 +63,7 @@ Windows and Mac OS, read L. =head2 Safety net Perl by default is very forgiving. In order to make it more robust -it is recommened to start every program with the following lines: +it is recommended to start every program with the following lines: #!/usr/bin/perl use strict; @@ -369,7 +369,7 @@ You can also use C in a post-condition: Exactly like C: - for ($i=0; $i <= $max; $i++) { + for ($i = 0; $i <= $max; $i++) { ... } @@ -537,7 +537,7 @@ expressions. These are documented at great length in L, but for the meantime, here's a quick cheat sheet: . a single character - \s a whitespace character (space, tab, newline) + \s a whitespace character (space, tab, newline, ...) \S non-whitespace character \d a digit (0-9) \D a non-digit