From c905bd843b0efcc77642a18ccc9f576600597f18 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 17 Feb 2011 18:28:42 -0800 Subject: [PATCH] Some missing hyphens in perlfaq* --- pod/perlfaq.pod | 4 ++-- pod/perlfaq4.pod | 2 +- pod/perlfaq6.pod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pod/perlfaq.pod b/pod/perlfaq.pod index 5e73ca5..09b40cf 100644 --- a/pod/perlfaq.pod +++ b/pod/perlfaq.pod @@ -512,7 +512,7 @@ How do I capitalize all the words on one line? =item * -How can I split a [character] delimited string except when inside [character]? +How can I split a [character]-delimited string except when inside [character]? =item * @@ -934,7 +934,7 @@ What is C really for? =item * -How do I use a regular expression to strip C style comments from a file? +How do I use a regular expression to strip C-style comments from a file? =item * diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 1cbea50..71ab290 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -900,7 +900,7 @@ that C after the apostrophe? You could try a regular expression: Now, what if you don't want to capitalize that "and"? Just use L and get on with the next problem. :) -=head2 How can I split a [character] delimited string except when inside [character]? +=head2 How can I split a [character]-delimited string except when inside [character]? Several modules can handle this sort of parsing--C, C, C, and C, among others. diff --git a/pod/perlfaq6.pod b/pod/perlfaq6.pod index a705988..1a37978 100644 --- a/pod/perlfaq6.pod +++ b/pod/perlfaq6.pod @@ -436,7 +436,7 @@ later, you should only see C report that for the first iteration. print STDERR "\t$_ is good!\n" if m/$regex/; } -=head2 How do I use a regular expression to strip C style comments from a file? +=head2 How do I use a regular expression to strip C-style comments from a file? While this actually can be done, it's much harder than you'd think. For example, this one-liner -- 2.7.4