Formatting fixes

[email protected] (Hanno Hecker) Wed, 13 May 2009 05:51:14 +0200
Newsgroups perl.perlfaq.workers
Message-ID <[email protected]>
--MP_/V=7SMzGXz0kWoC8ypAiCmyz
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

attached are some formatting fixes.

	Hanno
--MP_/V=7SMzGXz0kWoC8ypAiCmyz
Content-Type: text/x-patch; name=perlfaq.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=perlfaq.diff

diff --git a/perlfaq4.pod b/perlfaq4.pod
index 8cb84c4..7332ae5 100644
--- a/perlfaq4.pod
+++ b/perlfaq4.pod
@@ -848,7 +848,7 @@ that C<s> after the apostrophe? You could try a regular expression:
 	$string =~ s/([\w']+)/\u\L$1/g;
 
 Now, what if you don't want to capitalize that "and"? Just use
- L<Text::Autoformat> and get on with the next problem. :)
+L<Text::Autoformat> and get on with the next problem. :)
 
 =head2 How can I split a [character] delimited string except when inside [character]?
 
diff --git a/perlfaq5.pod b/perlfaq5.pod
index 2e830eb..88c8c34 100644
--- a/perlfaq5.pod
+++ b/perlfaq5.pod
@@ -44,10 +44,10 @@ case, C<STDOUT>. You can set the special variable C<$|> to a true value
 		#... expensive line processing operations
 		}
 
- The C<$|> is one of the per-filehandle special variables, so each
- filehandle has its own copy of its value. If you want to merge
- standard output and standard error for instance, you have to unbuffer
- each (although STDERR might be unbuffered by default):
+The C<$|> is one of the per-filehandle special variables, so each
+filehandle has its own copy of its value. If you want to merge
+standard output and standard error for instance, you have to unbuffer
+each (although STDERR might be unbuffered by default):
 
 	{
 	my $previous_default = select(STDOUT);  # save previous default
diff --git a/perlfaq6.pod b/perlfaq6.pod
index 5ae45ba..df16cfa 100644
--- a/perlfaq6.pod
+++ b/perlfaq6.pod
@@ -222,9 +222,9 @@ complete line (using your regular expression).
 		}
 	}
 
- You can do the same thing with foreach and a match using the
- c flag and the \G anchor, if you do not mind your entire file
- being in memory at the end.
+You can do the same thing with foreach and a match using the
+c flag and the \G anchor, if you do not mind your entire file
+being in memory at the end.
 
 	local $_ = "";
 	while( sysread FH, $_, 8192, length ) {
diff --git a/perlfaq7.pod b/perlfaq7.pod
index 8d91003..63ce055 100644
--- a/perlfaq7.pod
+++ b/perlfaq7.pod
@@ -888,10 +888,10 @@ details of empty packges.
 =head2 How can I comment out a large block of perl code?
 
 You can use embedded POD to discard it.  Enclose the blocks you want
-to comment out in POD markers.  The <=begin> directive marks a section
+to comment out in POD markers.  The C<=begin> directive marks a section
 for a specific formatter.  Use the C<comment> format, which no formatter
 should claim to understand (by policy).  Mark the end of the block
-with <=end>.
+with C<=end>.
 
 	# program is here
 
diff --git a/perlfaq8.pod b/perlfaq8.pod
index e1c8b8f..0f7bee6 100644
--- a/perlfaq8.pod
+++ b/perlfaq8.pod
@@ -24,7 +24,7 @@ X<exec> X<system> X<fork> X<open> X<pipe>
 
 (contributed by brian d foy)
 
-he C,exec> function's job is to turn your process into another
+The C<exec> function's job is to turn your process into another
 command and never to return. If that's not what you want to do, don't
 use C<exec>. :)
 

--MP_/V=7SMzGXz0kWoC8ypAiCmyz--