From: Abigail Date: Mon, 22 Dec 2008 09:43:46 +0000 (+0100) Subject: POD nits from Frank Wiegand X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b46207fed7bf69caa32c27c04bd239cfb64cb53;p=p5sagit%2Fp5-mst-13.2.git POD nits from Frank Wiegand --- diff --git a/lib/Benchmark.pm b/lib/Benchmark.pm index 390aa31..7e744a6 100644 --- a/lib/Benchmark.pm +++ b/lib/Benchmark.pm @@ -219,7 +219,7 @@ outputs a chart like: This chart is sorted from slowest to fastest, and shows the percent speed difference between each pair of tests. -c can also be passed the data structure that timethese() returns: +C can also be passed the data structure that timethese() returns: $results = timethese( -1, { a => "++\$i", b => "\$i *= 2" } ) ; cmpthese( $results ); diff --git a/lib/CGI.pm b/lib/CGI.pm index 9f32205..21d74c0 100644 --- a/lib/CGI.pm +++ b/lib/CGI.pm @@ -6455,7 +6455,7 @@ list. Otherwise, they will be strung together on a horizontal line. =back -The optional b<-labels> argument is a pointer to an associative array +The optional B<-labels> argument is a pointer to an associative array relating the checkbox values to the user-visible labels that will be printed next to them. If not provided, the values will be used as the default. @@ -6467,7 +6467,7 @@ checkbox group formatted with the specified number of rows and columns. You can provide just the -columns parameter if you wish; checkbox_group will calculate the correct number of rows for you. -The option b<-disabled> takes an array of checkbox values and disables +The option B<-disabled> takes an array of checkbox values and disables them by greying them out (this may not be supported by all browsers). The optional B<-attributes> argument is provided to assign any of the @@ -7539,7 +7539,7 @@ running under IIS and put itself into this mode. You do not need to do this manually, although it won't hurt anything if you do. However, note that if you have applied Service Pack 6, much of the functionality of NPH scripts, including the ability to redirect while -setting a cookie, b on IIS without a special patch +setting a cookie, B on IIS without a special patch from Microsoft. See http://support.microsoft.com/support/kb/articles/Q280/3/41.ASP: Non-Parsed Headers Stripped From CGI Applications That Have nph- diff --git a/lib/Carp.pm b/lib/Carp.pm index fe24c07..6fb36a9 100644 --- a/lib/Carp.pm +++ b/lib/Carp.pm @@ -83,7 +83,7 @@ You can also alter the way the output and logic of C works, by changing some global variables in the C namespace. See the section on C below. -Here is a more complete description of how c and c work. +Here is a more complete description of how C and C work. What they do is search the call-stack for a function call stack where they have not been told that there shouldn't be an error. If every call is marked safe, they give up and give a full stack backtrace @@ -225,7 +225,7 @@ error is reported from somewhere misleading very high in the call stack. Therefore it is best to avoid C<$Carp::CarpLevel>. Instead use -C<@CARP_NOT>, C<%Carp::Internal> and %Carp::CarpInternal>. +C<@CARP_NOT>, C<%Carp::Internal> and C<%Carp::CarpInternal>. Defaults to C<0>. diff --git a/lib/Switch.pm b/lib/Switch.pm index d7658ba..cf48bab 100644 --- a/lib/Switch.pm +++ b/lib/Switch.pm @@ -841,7 +841,7 @@ and then treats the two resulting references as arguments to C<&&>: This boolean expression is inevitably true, since both references are non-false. Fortunately, the overloaded C<'bool'> operator catches this -situation and flags it as a error. +situation and flags it as an error. =head1 DEPENDENCIES diff --git a/lib/Text/Balanced.pm b/lib/Text/Balanced.pm index 7316cc8..16a559b 100644 --- a/lib/Text/Balanced.pm +++ b/lib/Text/Balanced.pm @@ -1237,7 +1237,7 @@ pattern C<'\s*'> - optional whitespace - is used. If the delimiter set is also not specified, the set C is used. If the text to be processed is not specified either, C<$_> is used. -In list context, C returns a array of three +In list context, C returns an array of three elements, the extracted substring (I), the remainder of the text, and the skipped prefix (if any). If a suitable delimited substring is not found, the first