From: Abigail Date: Wed, 6 Jan 1999 22:21:32 +0000 (-0500) Subject: Another set of doc patches from Abigail X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8dcee03ef4ed12141a63dec75da7d736915e7be4;p=p5sagit%2Fp5-mst-13.2.git Another set of doc patches from Abigail Message-ID: <19990107032132.20124.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRAIL2 lib/Net/hostent.pm] Typo fix Date: Wed, 6 Jan 1999 22:21:32 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107032445.20178.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Net/netent.pm] Typo fix Date: Wed, 6 Jan 1999 22:24:45 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107032834.20362.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRAIL2 lib/Term/Complete.pm] Typo fix Date: Wed, 6 Jan 1999 22:28:34 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107033136.20440.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRAIL2 lib/Term/ReadLine.pm] Typo fix Date: Wed, 6 Jan 1999 22:31:36 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107033351.20540.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/CGI/Apache.pm] Typo fix Date: Wed, 6 Jan 1999 22:33:51 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107033933.20707.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/CGI/Push.pm] Typo fix Date: Wed, 6 Jan 1999 22:39:33 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107034548.20936.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/File/Copy.pm] Typo fixes Date: Wed, 6 Jan 1999 22:45:48 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107034856.21056.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/File/Spec.pm] Typo fix Date: Wed, 6 Jan 1999 22:48:56 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107035113.21174.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/File/Spec/Mac.pm] Typo fixes Date: Wed, 6 Jan 1999 22:51:13 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107035612.21522.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Math/BigFloat.pm] Typo fix Date: Wed, 6 Jan 1999 22:56:12 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107035842.21585.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Math/BigInt.pm] Typo fixes Date: Wed, 6 Jan 1999 22:58:41 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107040644.22009.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Text/Wrap.pm] Typo fixes Date: Wed, 6 Jan 1999 23:06:44 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107040955.22087.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Tie/Array.pm] Typo fixes Date: Wed, 6 Jan 1999 23:09:55 -0500 (EST) From: abigail@fnx.com Message-ID: <19990107041136.22174.qmail@alexandra.wayne.fnx.com> Subject: [PATCH 5.005_03 TRIAL2 lib/Tie/Hash.pm] Typo fix Date: Wed, 6 Jan 1999 23:11:36 -0500 (EST) p4raw-id: //depot/cfgperl@2579 --- diff --git a/lib/CGI/Apache.pm b/lib/CGI/Apache.pm index eed3e55..82a3669 100644 --- a/lib/CGI/Apache.pm +++ b/lib/CGI/Apache.pm @@ -78,7 +78,7 @@ CGI::Apache - Make things work with CGI.pm against Perl-Apache API =head1 DESCRIPTION When using the Perl-Apache API, your applications are faster, but the -enviroment is different than CGI. +environment is different than CGI. This module attempts to set-up that environment as best it can. =head1 NOTE 1 diff --git a/lib/CGI/Push.pm b/lib/CGI/Push.pm index eeec3f8..60a4617 100644 --- a/lib/CGI/Push.pm +++ b/lib/CGI/Push.pm @@ -204,7 +204,7 @@ itself should have exactly the same calling conventions as the This optional parameter indicates the content type of each page. It defaults to "text/html". Normally the module assumes that each page -is of a homogenous MIME type. However if you provide either of the +is of a homogeneous MIME type. However if you provide either of the magic values "heterogeneous" or "dynamic" (the latter provided for the convenience of those who hate long parameter names), you can specify the MIME type -- and other header fields -- on a per-page basis. See diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index ce1fbd7..e1da6b6 100644 --- a/lib/File/Copy.pm +++ b/lib/File/Copy.pm @@ -235,7 +235,7 @@ B Files are opened in binary mode where -applicable. To get a consistent behavour when copying from a +applicable. To get a consistent behaviour when copying from a filehandle to a file, use C on the filehandle. An optional third parameter can be used to specify the buffer @@ -274,7 +274,7 @@ C routine. For VMS systems, this calls the C routine (see below). For OS/2 systems, this calls the C XSUB directly. -=head2 Special behavior if C is defined (VMS and OS/2) +=head2 Special behaviour if C is defined (VMS and OS/2) If both arguments to C are not file handles, then C will perform a "system copy" of diff --git a/lib/File/Spec.pm b/lib/File/Spec.pm index 67b6703..616dcbc 100644 --- a/lib/File/Spec.pm +++ b/lib/File/Spec.pm @@ -91,7 +91,7 @@ but rather as class methods: File::Spec->catfile('a','b'); -For a reference of available functions, pleaes consult L, +For a reference of available functions, please consult L, which contains the entire set, and inherited by the modules for other platforms. For further information, please see L, L, L, or L. diff --git a/lib/File/Spec/Mac.pm b/lib/File/Spec/Mac.pm index 4968e24..63a9e12 100644 --- a/lib/File/Spec/Mac.pm +++ b/lib/File/Spec/Mac.pm @@ -52,7 +52,7 @@ The fundamental requirement of this routine is that File::Spec->catdir(split(":",$path)) eq $path But because of the nature of Macintosh paths, some additional -possibilities are allowed to make using this routine give resonable results +possibilities are allowed to make using this routine give reasonable results for some common situations. Here are the rules that are used. Each argument has its trailing ":" removed. Each argument, except the first, has its leading ":" removed. They are then joined together by a ":". @@ -78,7 +78,7 @@ Under MacPerl, there is an additional ambiguity. Does the user intend that File::Spec->catfile("LWP","Protocol","http.pm") be relative or absolute? There's no way of telling except by checking for the -existance of LWP: or :LWP, and even there he may mean a dismounted volume or +existence of LWP: or :LWP, and even there he may mean a dismounted volume or a relative path in a different directory (like in @INC). So those checks aren't done here. This routine will treat this as absolute. diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm index 576f341..03bc2f4 100644 --- a/lib/Math/BigFloat.pm +++ b/lib/Math/BigFloat.pm @@ -301,7 +301,7 @@ floats as =item number format canonical strings have the form /[+-]\d+E[+-]\d+/ . Input values can -have inbedded whitespace. +have imbedded whitespace. =item Error returns 'NaN' diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm index cd5c221..b61b884 100644 --- a/lib/Math/BigInt.pm +++ b/lib/Math/BigInt.pm @@ -400,8 +400,8 @@ In particular perl -MMath::BigInt=:constant -e 'print 2**100' -print the integer value of C<2**100>. Note that without convertion of -constants the expression 2**100 will be calculatted as floating point number. +print the integer value of C<2**100>. Note that without conversion of +constants the expression 2**100 will be calculated as floating point number. =head1 BUGS diff --git a/lib/Net/hostent.pm b/lib/Net/hostent.pm index 96b090d..d586358 100644 --- a/lib/Net/hostent.pm +++ b/lib/Net/hostent.pm @@ -89,7 +89,7 @@ $h_name if you import the fields. Array references are available as regular array variables, so for example C<@{ $host_obj-Ealiases() }> would be simply @h_aliases. -The gethost() funtion is a simple front-end that forwards a numeric +The gethost() function is a simple front-end that forwards a numeric argument to gethostbyaddr() by way of Socket::inet_aton, and the rest to gethostbyname(). diff --git a/lib/Net/netent.pm b/lib/Net/netent.pm index b82447c..fbc6d98 100644 --- a/lib/Net/netent.pm +++ b/lib/Net/netent.pm @@ -92,7 +92,7 @@ $n_name if you import the fields. Array references are available as regular array variables, so for example C<@{ $net_obj-Ealiases() }> would be simply @n_aliases. -The getnet() funtion is a simple front-end that forwards a numeric +The getnet() function is a simple front-end that forwards a numeric argument to getnetbyaddr(), and the rest to getnetbyname(). diff --git a/lib/Term/Complete.pm b/lib/Term/Complete.pm index 9f1256a..445dfca 100644 --- a/lib/Term/Complete.pm +++ b/lib/Term/Complete.pm @@ -56,7 +56,7 @@ Bell sounds when word completion fails. =head1 BUGS -The completion charater EtabE cannot be changed. +The completion character EtabE cannot be changed. =head1 AUTHOR diff --git a/lib/Term/ReadLine.pm b/lib/Term/ReadLine.pm index 470226d..e7cf00c 100644 --- a/lib/Term/ReadLine.pm +++ b/lib/Term/ReadLine.pm @@ -139,7 +139,7 @@ None =head1 ENVIRONMENT -The envrironment variable C governs which ReadLine clone is +The environment variable C governs which ReadLine clone is loaded. If the value is false, a dummy interface is used. If the value is true, it should be tail of the name of the package to use, such as C or C. diff --git a/lib/Text/Wrap.pm b/lib/Text/Wrap.pm index 046dfae..5f95edb 100644 --- a/lib/Text/Wrap.pm +++ b/lib/Text/Wrap.pm @@ -102,9 +102,9 @@ Text::Wrap - line wrapping to form simple paragraphs =head1 DESCRIPTION Text::Wrap::wrap() is a very simple paragraph formatter. It formats a -single paragraph at a time by breaking lines at word boundries. +single paragraph at a time by breaking lines at word boundaries. Indentation is controlled for the first line ($initial_tab) and -all subsquent lines ($subsequent_tab) independently. +all subsequent lines ($subsequent_tab) independently. Lines are wrapped at $Text::Wrap::columns columns. $Text::Wrap::columns should be set to the full width of your output device. @@ -116,7 +116,7 @@ To restore the old (dying) behavior, set $Text::Wrap::huge to Text::Wrap::fill() is a simple multi-paragraph formatter. It formats each paragraph separately and then joins them together when it's done. It -will destory any whitespace in the original text. It breaks text into +will destroy any whitespace in the original text. It breaks text into paragraphs by looking for whitespace after a newline. In other respects it acts like wrap(). diff --git a/lib/Tie/Array.pm b/lib/Tie/Array.pm index 4041b00..3f34c3b 100644 --- a/lib/Tie/Array.pm +++ b/lib/Tie/Array.pm @@ -176,23 +176,23 @@ provides the methods below. =item STORE this, index, value -Store datum I into I for the tied array assoicated with +Store datum I into I for the tied array associated with object I. If this makes the array larger then class's mapping of C should be returned for new positions. =item FETCH this, index -Retrieve the datum in I for the tied array assoicated with +Retrieve the datum in I for the tied array associated with object I. =item FETCHSIZE this -Returns the total number of items in the tied array assoicated with +Returns the total number of items in the tied array associated with object I. (Equivalent to C). =item STORESIZE this, count -Sets the total number of items in the tied array assoicated with +Sets the total number of items in the tied array associated with object I to be I. If this makes the array larger then class's mapping of C should be returned for new positions. If the array becomes smaller then entries beyond count should be @@ -205,7 +205,7 @@ Can be used to optimize allocation. This method need do nothing. =item CLEAR this -Clear (remove, delete, ...) all values from the tied array assoicated with +Clear (remove, delete, ...) all values from the tied array associated with object I. =item DESTROY this @@ -227,7 +227,7 @@ and return it. =item UNSHIFT this, LIST -Insert LIST elements at the begining of the array, moving existing elements +Insert LIST elements at the beginning of the array, moving existing elements up to make room. =item SPLICE this, offset, length, LIST diff --git a/lib/Tie/Hash.pm b/lib/Tie/Hash.pm index 7ed1896..2902efb 100644 --- a/lib/Tie/Hash.pm +++ b/lib/Tie/Hash.pm @@ -92,7 +92,7 @@ but may be omitted in favor of a simple default. =head1 MORE INFORMATION -The packages relating to various DBM-related implemetations (F, +The packages relating to various DBM-related implementations (F, F, etc.) show examples of general tied hashes, as does the L module. While these do not utilize B, they serve as good working examples.