Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a typo reported by Ahmad M. Zawawi (GH #222).

  • Loading branch information...
commit e25ebfe319bb94c90a44c8e1341f6dc0bc1a56fa 1 parent 9d0d9f0
@chromatic authored
View
3  CREDITS
@@ -254,3 +254,6 @@ E: dgholz@gmail.com
N: Kevin Granade
E: kevingranade@linuxwrangling.com
+
+N: Ahmad M. Zawawi
+E: ahmad.zawawi@gmail.com
View
3  build/html/style.css
@@ -24,7 +24,8 @@ code {
font: normal normal normal medium/1.2 Consolas, 'Andale Mono', Monaco, 'Liberation Mono', 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', monospace;
}
-table { font-size: 12px; font-family: sans-serif; }
+table { font-size: 12px; font-family: sans-serif; border: 1px solid; }
+td { border: 1px solid; }
th { background: #CCCCCC; text-align: left;}
View
8 sections/chapter_11.pod
@@ -1,9 +1,9 @@
=head0 What to Avoid
-Perl 5 isn't perfect. Some features are difficult to use correctly. Otherwise
-have never worked well. A few are quirky combinations of other features with
-strange edge cases. While you're better off avoiding these features, knowing
-why to avoid them will help you find better solutions.
+Perl 5 isn't perfect. Some features are difficult to use correctly. Others have
+never worked well. A few are quirky combinations of other features with strange
+edge cases. While you're better off avoiding these features, knowing why to
+avoid them will help you find better solutions.
L<barewords>
View
4 sections/control_flow.pod
@@ -539,8 +539,8 @@ alias C<$_> to the variable:
for ($user_input)
{
- s/\A\s+/; # trim leading whitespace
- s/\s+\z/; # trim trailing whitespace
+ s/\A\s+//; # trim leading whitespace
+ s/\s+\z//; # trim trailing whitespace
$_ = quotemeta; # escape non-word characters
}
View
8 sections/globals.pod
@@ -93,14 +93,6 @@ if you don't explicitly read from those variables.
Modern Perl programs should use the C<@-> variable as a replacement for the
terrible three.
-=for author
-
-I don't understand this strategy. What is being replaced? In Modern
-Perl, we have the /p modifier with gives us the not-so-terrible three,
-${^MATCH}, ${^PREMATCH}, and ${^POSTMATCH}.
-
-=end for
-
=head2 Useful Super Globals
X<super globals; useful>
View
2  sections/values.pod
@@ -435,7 +435,7 @@ a sequence of octets or a sequence of characters. Perl allows you to combine
these types through the use of implicit conversions. When these conversions are
wrong, they're rarely I<obviously> wrong.
-When Perl concatenates a sequences of octets with a sequence of Unicode
+When Perl concatenates a sequence of octets with a sequence of Unicode
characters, it implicitly decodes the octet sequence using the Latin-1
encoding. The resulting string will contain Unicode characters. When you print
Unicode characters, Perl will encode the string using UTF-8, because Latin-1
Please sign in to comment.
Something went wrong with that request. Please try again.