diff options
author | Abigail <abigail@abigail.be> | 2008-12-22 10:43:46 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2008-12-22 10:43:46 +0100 |
commit | 3b46207fed7bf69caa32c27c04bd239cfb64cb53 (patch) | |
tree | 11b081fffac16f6b6590b50fb60be3b144776709 /lib | |
parent | d82a90c1781ccf0f51c6d21d89bba736542ef4f8 (diff) | |
download | perl-3b46207fed7bf69caa32c27c04bd239cfb64cb53.tar.gz |
POD nits from Frank Wiegand <frank.wiegand@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Benchmark.pm | 2 | ||||
-rw-r--r-- | lib/CGI.pm | 6 | ||||
-rw-r--r-- | lib/Carp.pm | 4 | ||||
-rw-r--r-- | lib/Switch.pm | 2 | ||||
-rw-r--r-- | lib/Text/Balanced.pm | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/Benchmark.pm b/lib/Benchmark.pm index 390aa31153..7e744a634a 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<cmpthese> can also be passed the data structure that timethese() returns: +C<cmpthese> 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 9f32205902..21d74c0eed 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<do not work at all> on IIS without a special patch +setting a cookie, B<do not work at all> 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 fe24c07453..6fb36a9c0b 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<Carp> works, by changing some global variables in the C<Carp> namespace. See the section on C<GLOBAL VARIABLES> below. -Here is a more complete description of how c<carp> and c<croak> work. +Here is a more complete description of how C<carp> and C<croak> 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 d7658bac84..cf48bab49c 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 7316cc83ff..16a559b6c8 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<extract_delimited> returns a array of three +In list context, C<extract_delimited> returns an array of three elements, the extracted substring (I<including the surrounding delimiters>), the remainder of the text, and the skipped prefix (if any). If a suitable delimited substring is not found, the first |