From: Father Chrysostomos Date: Fri, 18 Feb 2011 02:28:42 +0000 (-0800) Subject: Some missing hyphens in perlfaq* X-Git-Tag: accepted/trunk/20130322.191538~5490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c905bd843b0efcc77642a18ccc9f576600597f18;p=platform%2Fupstream%2Fperl.git Some missing hyphens in perlfaq* --- 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