summaryrefslogtreecommitdiff
path: root/pod/perlintro.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-05-24 11:17:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-05-24 11:17:31 +0000
commitd699aa5b29732a7458b7dc824a0b5c53a9854d4f (patch)
tree32967048fa252f44be95d2a430465f8a3cb41dde /pod/perlintro.pod
parentab4e622174cae840d56daa4628ba01d160b5d67b (diff)
downloadperl-d699aa5b29732a7458b7dc824a0b5c53a9854d4f.tar.gz
Doc nits by Steven Schubiger
p4raw-id: //depot/perl@31264
Diffstat (limited to 'pod/perlintro.pod')
-rw-r--r--pod/perlintro.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlintro.pod b/pod/perlintro.pod
index 201ebea891..210890f52f 100644
--- a/pod/perlintro.pod
+++ b/pod/perlintro.pod
@@ -63,7 +63,7 @@ Windows and Mac OS, read L<perlrun>.
=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<while> 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<perlre>, 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