From 3c4b39bee8832007b7e91bfce8701d34cacab411 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Sun, 31 Jul 2005 14:50:04 +0200 Subject: [PATCH] Typos in *.p[lm] From: "Piotr Fusik" Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261 --- bytecode.pl | 2 +- ext/B/B/Asmdata.pm | 2 +- ext/B/B/Bblock.pm | 2 +- ext/B/B/CC.pm | 2 +- ext/B/B/Concise.pm | 2 +- ext/B/B/Deparse.pm | 2 +- ext/B/B/Terse.pm | 2 +- ext/B/t/OptreeCheck.pm | 6 ++--- ext/Compress/Zlib/Zlib.pm | 2 +- ext/DB_File/DB_File.pm | 2 +- ext/Digest/MD5/MD5.pm | 2 +- ext/Encode/Encode.pm | 4 +-- ext/Encode/encoding.pm | 2 +- ext/Encode/lib/Encode/Alias.pm | 4 +-- ext/IO/lib/IO/Dir.pm | 2 +- ext/IO/lib/IO/Poll.pm | 2 +- ext/IO/lib/IO/Socket/INET.pm | 2 +- ext/NDBM_File/NDBM_File.pm | 2 +- ext/ODBM_File/ODBM_File.pm | 2 +- ext/Opcode/Opcode.pm | 4 +-- ext/Opcode/ops.pm | 2 +- ext/SDBM_File/SDBM_File.pm | 2 +- ext/Storable/Storable.pm | 6 ++--- ext/XS/APItest/APItest.pm | 6 ++--- ext/re/re.pm | 2 +- lib/Archive/Tar.pm | 4 +-- lib/Archive/Tar/Constant.pm | 2 +- lib/Attribute/Handlers.pm | 2 +- lib/CGI.pm | 4 +-- lib/CGI/Carp.pm | 2 +- lib/CPAN.pm | 6 ++--- lib/Digest.pm | 2 +- lib/ExtUtils/CBuilder/Platform/Windows.pm | 4 +-- lib/ExtUtils/MM_Any.pm | 2 +- lib/ExtUtils/MM_Unix.pm | 2 +- lib/ExtUtils/MM_VMS.pm | 2 +- lib/ExtUtils/MakeMaker.pm | 6 ++--- lib/ExtUtils/ParseXS.pm | 4 +-- lib/File/Basename.pm | 2 +- lib/File/Spec/Mac.pm | 4 +-- lib/File/Temp.pm | 2 +- lib/Filter/Simple.pm | 2 +- lib/Getopt/Long.pm | 14 +++++----- lib/I18N/LangTags.pm | 2 +- lib/I18N/LangTags/List.pm | 2 +- lib/Math/BigFloat.pm | 26 +++++++++--------- lib/Math/BigInt.pm | 44 +++++++++++++++---------------- lib/Math/BigInt/Calc.pm | 8 +++--- lib/Math/BigRat.pm | 4 +-- lib/NEXT.pm | 4 +-- lib/Net/Cmd.pm | 2 +- lib/Net/Config.pm | 6 ++--- lib/Net/FTP.pm | 12 ++++----- lib/Net/NNTP.pm | 2 +- lib/Net/POP3.pm | 4 +-- lib/Net/Ping.pm | 12 ++++----- lib/Net/SMTP.pm | 4 +-- lib/PerlIO.pm | 2 +- lib/Pod/Checker.pm | 4 +-- lib/Pod/Functions.pm | 12 ++++----- lib/Pod/Html.pm | 2 +- lib/Pod/InputObjects.pm | 2 +- lib/Pod/LaTeX.pm | 2 +- lib/Pod/Parser.pm | 6 ++--- lib/Pod/Select.pm | 4 +-- lib/Pod/Usage.pm | 4 +-- lib/Switch.pm | 4 +-- lib/Term/ANSIColor.pm | 4 +-- lib/Test.pm | 4 +-- lib/Test/More.pm | 4 +-- lib/Text/Balanced.pm | 8 +++--- lib/Text/Wrap.pm | 4 +-- lib/Tie/File.pm | 2 +- lib/Tie/Hash.pm | 2 +- lib/Unicode/UCD.pm | 4 +-- lib/base.pm | 4 +-- lib/bigint.pm | 2 +- lib/bignum.pm | 10 +++---- lib/bigrat.pm | 6 ++--- lib/blib.pm | 2 +- lib/diagnostics.pm | 2 +- lib/perl5db.pl | 8 +++--- lib/version.pm | 6 ++--- lib/vmsish.pm | 4 +-- os2/OS2/PrfDB/PrfDB.pm | 2 +- os2/OS2/Process/Process.pm | 8 +++--- pod/checkpods.PL | 2 +- pod/pod2usage.PL | 2 +- utils/h2xs.PL | 2 +- win32/bin/pl2bat.pl | 2 +- wince/bin/pl2bat.pl | 2 +- wince/comp.pl | 2 +- 92 files changed, 203 insertions(+), 203 deletions(-) diff --git a/bytecode.pl b/bytecode.pl index 63b5120..fc2cae4 100644 --- a/bytecode.pl +++ b/bytecode.pl @@ -325,7 +325,7 @@ A simple mapping of the op type number to its type (like 'COP' or 'BINOP'). my $sv_name = $specialsv_name[$sv_index]; Certain SV types are considered 'special'. They're represented by -B::SPECIAL and are refered to by a number from the specialsv_list. +B::SPECIAL and are referred to by a number from the specialsv_list. This array maps that number back to the name of the SV (like 'Nullsv' or '&PL_sv_undef'). diff --git a/ext/B/B/Asmdata.pm b/ext/B/B/Asmdata.pm index 17f18dc..bd130fe 100644 --- a/ext/B/B/Asmdata.pm +++ b/ext/B/B/Asmdata.pm @@ -234,7 +234,7 @@ A simple mapping of the op type number to its type (like 'COP' or 'BINOP'). my $sv_name = $specialsv_name[$sv_index]; Certain SV types are considered 'special'. They're represented by -B::SPECIAL and are refered to by a number from the specialsv_list. +B::SPECIAL and are referred to by a number from the specialsv_list. This array maps that number back to the name of the SV (like 'Nullsv' or '&PL_sv_undef'). diff --git a/ext/B/B/Bblock.pm b/ext/B/B/Bblock.pm index 908cc76..ade8181 100644 --- a/ext/B/B/Bblock.pm +++ b/ext/B/B/Bblock.pm @@ -186,7 +186,7 @@ B::Bblock - Walk basic blocks This module is used by the B::CC back end. It walks "basic blocks". A basic block is a series of operations which is known to execute from -start to finish, with no possiblity of branching or halting. +start to finish, with no possibility of branching or halting. It can be used either stand alone or from inside another program. diff --git a/ext/B/B/CC.pm b/ext/B/B/CC.pm index 14ee6cf..43064fb 100644 --- a/ext/B/B/CC.pm +++ b/ext/B/B/CC.pm @@ -1988,7 +1988,7 @@ with standard Perl but gives a compile-time error with compiled Perl. =head2 Arithmetic -Compiled Perl programs use native C arithemtic much more frequently +Compiled Perl programs use native C arithmetic much more frequently than standard perl. Operations on large numbers or on boundary cases may produce different behaviour. diff --git a/ext/B/B/Concise.pm b/ext/B/B/Concise.pm index 0798716..eacab35 100644 --- a/ext/B/B/Concise.pm +++ b/ext/B/B/Concise.pm @@ -938,7 +938,7 @@ tree in one of several space-efficient text formats suitable for debugging the inner workings of perl or other compiler backends. It can print OPs in the order they appear in the OP tree, in the order they will execute, or in a text approximation to their tree structure, and the format of the -information displyed is customizable. Its function is similar to that of +information displayed is customizable. Its function is similar to that of perl's B<-Dx> debugging flag or the B module, but it is more sophisticated and flexible. diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm index 081fe16..5473b40 100644 --- a/ext/B/B/Deparse.pm +++ b/ext/B/B/Deparse.pm @@ -2327,7 +2327,7 @@ sub indirop { # give bareword warnings in that case. Therefore if context # requires, we'll put parens around the outside "(sort f 1, 2, # 3)". Unfortunately, we'll currently think the parens are - # neccessary more often that they really are, because we don't + # necessary more often that they really are, because we don't # distinguish which side of an assignment we're on. if ($cx >= 5) { return "($name2 $args)"; diff --git a/ext/B/B/Terse.pm b/ext/B/B/Terse.pm index cb2f63b..d87b881 100644 --- a/ext/B/B/Terse.pm +++ b/ext/B/B/Terse.pm @@ -83,7 +83,7 @@ This version of B::Terse is really just a wrapper that calls B::Concise with the B<-terse> option. It is provided for compatibility with old scripts (and habits) but using B::Concise directly is now recommended instead. -For compatiblilty with the old B::Terse, this module also adds a +For compatibility with the old B::Terse, this module also adds a method named C to B::OP and B::SV objects. The B::SV method is largely compatible with the old one, though authors of new software might be advised to choose a more user-friendly output format. The diff --git a/ext/B/t/OptreeCheck.pm b/ext/B/t/OptreeCheck.pm index c6a58e5..fa1a825 100644 --- a/ext/B/t/OptreeCheck.pm +++ b/ext/B/t/OptreeCheck.pm @@ -200,7 +200,7 @@ being tested, and saved into the synthesized property B. =head2 bcopts => $bcopts || [ @bcopts ] When getRendering() runs, it passes bcopts into B::Concise::compile(). -The bcopts arg can be a singls string, or an array of strings. +The bcopts arg can be a single string, or an array of strings. =head2 errs => $err_str_regex || [ @err_str_regexs ] @@ -627,7 +627,7 @@ the test-cases; we want the match to be as rigorous as possible, and thats easier to achieve when matching against 1 input than 2. Opcode arguments (text within braces) are disregarded for matching -purposes. This loses some info in 'add[t5]', but greatly simplifys +purposes. This loses some info in 'add[t5]', but greatly simplifies matching 'nextstate(main 22 (eval 10):1)'. Besides, we are testing for regressions, not for complete accuracy. @@ -804,7 +804,7 @@ build's threaded-ness. This has several benefits: 1. native reference data allows closer/easier matching by regex. 2. samples can be eyeballed to grok T-nT differences. 3. data can help to validate mkCheckRex() operation. - 4. can develop regexes which accomodate T-nT differences. + 4. can develop regexes which accommodate T-nT differences. 5. can test with both native and cross-converted regexes. Cross-testing (expect_nt on threaded, expect on non-threaded) exposes diff --git a/ext/Compress/Zlib/Zlib.pm b/ext/Compress/Zlib/Zlib.pm index 59d4b8c..a831b4d 100644 --- a/ext/Compress/Zlib/Zlib.pm +++ b/ext/Compress/Zlib/Zlib.pm @@ -877,7 +877,7 @@ compressed data. Otherwise it returns I. The source buffer can either be a scalar or a scalar reference. -The B<$level> paramter defines the compression level. Valid values are +The B<$level> parameter defines the compression level. Valid values are 0 through 9, C, C, C, and C. If B<$level> is not specified C will be used. diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index 40098e3..6ddbc03 100644 --- a/ext/DB_File/DB_File.pm +++ b/ext/DB_File/DB_File.pm @@ -1851,7 +1851,7 @@ Here is another real-life example. By default, whenever Perl writes to a DBM database it always writes the key and value as strings. So when you use this: - $hash{12345} = "soemthing" ; + $hash{12345} = "something" ; the key 12345 will get stored in the DBM database as the 5 byte string "12345". If you actually want the key to be stored in the DBM database diff --git a/ext/Digest/MD5/MD5.pm b/ext/Digest/MD5/MD5.pm index 87aa775..a26b1c2 100644 --- a/ext/Digest/MD5/MD5.pm +++ b/ext/Digest/MD5/MD5.pm @@ -202,7 +202,7 @@ Note that the C operation is effectively a destructive, read-once operation. Once it has been performed, the C object is automatically C and can be used to calculate another digest value. Call $md5->clone->digest if you want to calculate the -digest without reseting the digest state. +digest without resetting the digest state. =item $md5->hexdigest diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm index 079d1bd..672ab4b 100644 --- a/ext/Encode/Encode.pm +++ b/ext/Encode/Encode.pm @@ -562,7 +562,7 @@ Encode::FB_DEFAULT ( == 0 ) is assumed. =over 2 -=item B Not all encoding suppport this feature +=item B Not all encoding support this feature Some encodings ignore I argument. For example, L ignores I and it always croaks on error. @@ -731,7 +731,7 @@ After C<$utf8 = decode('foo', $octet);>, In any other Encoding ON --------------------------------------------- -As you see, there is one exception, In ASCII. That way you can assue +As you see, there is one exception, In ASCII. That way you can assume Goal #1. And with Encode Goal #2 is assumed but you still have to be careful in such cases mentioned in B paragraphs. diff --git a/ext/Encode/encoding.pm b/ext/Encode/encoding.pm index b52280f..df87582 100644 --- a/ext/Encode/encoding.pm +++ b/ext/Encode/encoding.pm @@ -402,7 +402,7 @@ B can appear as many times as you want in a given script. The multiple use of this pragma is discouraged. By the same reason, the use this pragma inside modules is also -discouraged (though not as strongly discouranged as the case above. +discouraged (though not as strongly discouraged as the case above. See below). If you still have to write a module with this pragma, be very careful diff --git a/ext/Encode/lib/Encode/Alias.pm b/ext/Encode/lib/Encode/Alias.pm index 7776096..2ec8f9f 100644 --- a/ext/Encode/lib/Encode/Alias.pm +++ b/ext/Encode/lib/Encode/Alias.pm @@ -161,7 +161,7 @@ sub init_aliases hebrew|arabic|baltic|vietnamese)$/ix => '"cp" . $Encode::Alias::Winlatin2cp{lc($1)}' ); - # Common names for non-latin prefered MIME names + # Common names for non-latin preferred MIME names define_alias( 'ascii' => 'US-ascii', 'cyrillic' => 'iso-8859-5', 'arabic' => 'iso-8859-6', @@ -313,7 +313,7 @@ Prior to Encode 1.86 this fails because of "local $_". =head2 Alias overloading You can override predefined aliases by simply applying define_alias(). -The new alias is always evaluated first, and when neccessary, +The new alias is always evaluated first, and when necessary, define_alias() flushes the internal cache to make the new definition available. diff --git a/ext/IO/lib/IO/Dir.pm b/ext/IO/lib/IO/Dir.pm index e2551f1..c7de8b3 100644 --- a/ext/IO/lib/IO/Dir.pm +++ b/ext/IO/lib/IO/Dir.pm @@ -178,7 +178,7 @@ directory reading routines. =item new ( [ DIRNAME ] ) -C is the constuctor for C objects. It accepts one optional +C is the constructor for C objects. It accepts one optional argument which, if given, C will pass to C =back diff --git a/ext/IO/lib/IO/Poll.pm b/ext/IO/lib/IO/Poll.pm index bc928b5..cd8da30 100644 --- a/ext/IO/lib/IO/Poll.pm +++ b/ext/IO/lib/IO/Poll.pm @@ -175,7 +175,7 @@ happen, or -1 on error. =item events ( IO ) -Returns the event mask which represents the events that happend on IO +Returns the event mask which represents the events that happened on IO during the last call to C. =item remove ( IO ) diff --git a/ext/IO/lib/IO/Socket/INET.pm b/ext/IO/lib/IO/Socket/INET.pm index 01e2423..b4041b1 100644 --- a/ext/IO/lib/IO/Socket/INET.pm +++ b/ext/IO/lib/IO/Socket/INET.pm @@ -319,7 +319,7 @@ C provides. ReusePort Set SO_REUSEPORT before binding Broadcast Set SO_BROADCAST before binding Timeout Timeout value for various operations - MultiHomed Try all adresses for multi-homed hosts + MultiHomed Try all addresses for multi-homed hosts Blocking Determine if connection will be blocking mode If C is defined then a listen socket is created, else if the diff --git a/ext/NDBM_File/NDBM_File.pm b/ext/NDBM_File/NDBM_File.pm index a952af2..e74ca2e 100644 --- a/ext/NDBM_File/NDBM_File.pm +++ b/ext/NDBM_File/NDBM_File.pm @@ -100,7 +100,7 @@ sets C<$!> to contain the reason the file could not be tied. =head2 C -This warning is emmitted when you try to store a key or a value that +This warning is emitted when you try to store a key or a value that is too long. It means that the change was not recorded in the database. See BUGS AND WARNINGS below. diff --git a/ext/ODBM_File/ODBM_File.pm b/ext/ODBM_File/ODBM_File.pm index e9bdce5..d23d372 100644 --- a/ext/ODBM_File/ODBM_File.pm +++ b/ext/ODBM_File/ODBM_File.pm @@ -97,7 +97,7 @@ sets C<$!> to contain the reason the file could not be tied. =head2 C -This warning is emmitted when you try to store a key or a value that +This warning is emitted when you try to store a key or a value that is too long. It means that the change was not recorded in the database. See BUGS AND WARNINGS below. diff --git a/ext/Opcode/Opcode.pm b/ext/Opcode/Opcode.pm index 179da04..9394734 100644 --- a/ext/Opcode/Opcode.pm +++ b/ext/Opcode/Opcode.pm @@ -351,7 +351,7 @@ available memory). anonlist anonhash -Note that despite the existance of this optag a memory resource attack +Note that despite the existence of this optag a memory resource attack may still be possible using only :base_core ops. Disabling these ops is a I heavy handed way to attempt to prevent @@ -555,7 +555,7 @@ SystemV Interprocess Communications: =item :dangerous This tag is simply a bucket for opcodes that are unlikely to be used via -a tag name but need to be tagged for completness and documentation. +a tag name but need to be tagged for completeness and documentation. syscall dump chroot diff --git a/ext/Opcode/ops.pm b/ext/Opcode/ops.pm index 8a7a200..113445f 100644 --- a/ext/Opcode/ops.pm +++ b/ext/Opcode/ops.pm @@ -6,7 +6,7 @@ use Opcode qw(opmask_add opset invert_opset); sub import { shift; - # Not that unimport is the prefered form since import's don't + # Not that unimport is the preferred form since import's don't # accumulate well owing to the 'only ever add opmask' rule. # E.g., perl -Mops=:set1 -Mops=:setb is unlikely to do as expected. opmask_add(invert_opset opset(@_)) if @_; diff --git a/ext/SDBM_File/SDBM_File.pm b/ext/SDBM_File/SDBM_File.pm index 6fda489..e83a814 100644 --- a/ext/SDBM_File/SDBM_File.pm +++ b/ext/SDBM_File/SDBM_File.pm @@ -100,7 +100,7 @@ sets C<$!> to contain the reason the file could not be tied. =head2 C -This warning is emmitted when you try to store a key or a value that +This warning is emitted when you try to store a key or a value that is too long. It means that the change was not recorded in the database. See BUGS AND WARNINGS below. diff --git a/ext/Storable/Storable.pm b/ext/Storable/Storable.pm index 5a5eedc..03f50d9 100644 --- a/ext/Storable/Storable.pm +++ b/ext/Storable/Storable.pm @@ -524,7 +524,7 @@ settings. Since Storable version 2.05, CODE references may be serialized with the help of L. To enable this feature, set -C<$Storable::Deparse> to a true value. To enable deserializazion, +C<$Storable::Deparse> to a true value. To enable deserialization, C<$Storable::Eval> should be set to a true value. Be aware that deserialization is done through C, which is dangerous if the Storable file contains malicious data. You can set C<$Storable::Eval> @@ -701,7 +701,7 @@ Returned value: none. =item C I, I, I While C and C are useful for classes where -each instance is independant, this mechanism has difficulty (or is +each instance is independent, this mechanism has difficulty (or is incompatible) with objects that exist as common process-level or system-level resources, such as singleton objects, database pools, caches or memoized objects. @@ -931,7 +931,7 @@ data back to 8 bit and C if the conversion fails. Prior to Storable 2.01, no distinction was made between signed and unsigned integers on storing. By default Storable prefers to store a scalars string representation (if it has one) so this would only cause -problems when storing large unsigned integers that had never been coverted +problems when storing large unsigned integers that had never been converted to string or floating point. In other words values that had been generated by integer operations such as logic ops and then not used in any string or arithmetic context before storing. diff --git a/ext/XS/APItest/APItest.pm b/ext/XS/APItest/APItest.pm index 5a00b31..73cba40 100644 --- a/ext/XS/APItest/APItest.pm +++ b/ext/XS/APItest/APItest.pm @@ -160,17 +160,17 @@ the function; for example =item B -Evalulates the passed SV. Result handling is done the same as for +Evaluates the passed SV. Result handling is done the same as for C etc. =item B -Excercises the C function of the same name in scalar context. Returns the +Exercises the C function of the same name in scalar context. Returns the same SV that the C function returns. =item B -Excercises the C function of the same name. Returns nothing. +Exercises the C function of the same name. Returns nothing. =back diff --git a/ext/re/re.pm b/ext/re/re.pm index edc6cb8..bd22948 100644 --- a/ext/re/re.pm +++ b/ext/re/re.pm @@ -49,7 +49,7 @@ C<(?{ ... })> zero-width assertions even if regular expression contains variable interpolation. That is normally disallowed, since it is a potential security risk. Note that this pragma is ignored when the regular expression is obtained from tainted data, i.e. evaluation is always -disallowed with tainted regular expresssions. See L. +disallowed with tainted regular expressions. See L. For the purpose of this pragma, interpolation of precompiled regular expressions (i.e., the result of C) is I considered variable diff --git a/lib/Archive/Tar.pm b/lib/Archive/Tar.pm index f8e817b..9064f2b 100644 --- a/lib/Archive/Tar.pm +++ b/lib/Archive/Tar.pm @@ -1146,7 +1146,7 @@ method call instead. Returns true if we currently have C support loaded. Either C or C support is needed to support writing -stringified archives. Currently, C is the preffered method, if +stringified archives. Currently, C is the preferred method, if available. See the C section to see how to change this preference. @@ -1162,7 +1162,7 @@ Returns true if we currently have C support loaded. This requires C or higher, compiled with C Either C or C support is needed to support writing -stringified archives. Currently, C is the preffered method, if +stringified archives. Currently, C is the preferred method, if available. See the C section to see how to change this preference. diff --git a/lib/Archive/Tar/Constant.pm b/lib/Archive/Tar/Constant.pm index fe5bb14..f7f0f6d 100644 --- a/lib/Archive/Tar/Constant.pm +++ b/lib/Archive/Tar/Constant.pm @@ -40,7 +40,7 @@ use constant READ_ONLY => sub { shift() ? 'rb' : 'r' }; use constant WRITE_ONLY => sub { $_[0] ? 'wb' . shift : 'w' }; use constant MODE_READ => sub { $_[0] =~ /^r/ ? 1 : 0 }; -# Pointless assigment to make -w shut up +# Pointless assignment to make -w shut up my $getpwuid; $getpwuid = 'unknown' unless eval { my $f = getpwuid (0); }; my $getgrgid; $getgrgid = 'unknown' unless eval { my $f = getgrgid (0); }; use constant UNAME => sub { $getpwuid || scalar getpwuid( shift() ) }; diff --git a/lib/Attribute/Handlers.pm b/lib/Attribute/Handlers.pm index 74c1c79..1c00bb3 100644 --- a/lib/Attribute/Handlers.pm +++ b/lib/Attribute/Handlers.pm @@ -599,7 +599,7 @@ current package. Otherwise it is installed in the qualifier's package: Autoties are most commonly used in the module to which they actually tie, and need to export their attributes to any module that calls them. To -facilitiate this, Attribute::Handlers recognizes a special "pseudo-class" -- +facilitate this, Attribute::Handlers recognizes a special "pseudo-class" -- C<__CALLER__>, which may be specified as the qualifier of an attribute: package Tie::Me::Kangaroo:Down::Sport; diff --git a/lib/CGI.pm b/lib/CGI.pm index c0d6c64..ff9db9b 100644 --- a/lib/CGI.pm +++ b/lib/CGI.pm @@ -5939,7 +5939,7 @@ for each option element within the optgroup. =item 5. An optional fifth parameter (-novals) can be set to a true value and -indicates to suppress the val attribut in each option element within +indicates to suppress the val attribute in each option element within the optgroup. See the discussion on optgroup at W3C @@ -6646,7 +6646,7 @@ Netscape versions 2.0 and higher incorporate an interpreted language called JavaScript. Internet Explorer, 3.0 and higher, supports a closely-related dialect called JScript. JavaScript isn't the same as Java, and certainly isn't at all the same as Perl, which is a great -pity. JavaScript allows you to programatically change the contents of +pity. JavaScript allows you to programmatically change the contents of fill-out forms, create new windows, and pop up dialog box from within Netscape itself. From the point of view of CGI scripting, JavaScript is quite useful for validating fill-out forms prior to submitting diff --git a/lib/CGI/Carp.pm b/lib/CGI/Carp.pm index 94033d6..bb4b2c7 100644 --- a/lib/CGI/Carp.pm +++ b/lib/CGI/Carp.pm @@ -233,7 +233,7 @@ non-overridden program name fatalsToBrowser() output. 1.23 ineval() now checks both $^S and inspects the message for the "eval" pattern - (hack alert!) in order to accomodate various combinations of Perl and + (hack alert!) in order to accommodate various combinations of Perl and mod_perl. 1.24 Patch from Scott Gifford (sgifford@suspectclass.com): Add support diff --git a/lib/CPAN.pm b/lib/CPAN.pm index 059c4f5..095b533 100644 --- a/lib/CPAN.pm +++ b/lib/CPAN.pm @@ -252,7 +252,7 @@ use vars qw($Ua $Thesite $Themethod); package CPAN::LWP::UserAgent; use vars qw(@ISA $USER $PASSWD $SETUPDONE); -# we delay requiring LWP::UserAgent and setting up inheritence until we need it +# we delay requiring LWP::UserAgent and setting up inheritance until we need it package CPAN::Complete; @CPAN::Complete::ISA = qw(CPAN::Debug); @@ -6772,7 +6772,7 @@ added to the search path of the CPAN module before the use() or require() statements. The configuration dialog can be started any time later again by -issueing the command C< o conf init > in the CPAN shell. +issuing the command C< o conf init > in the CPAN shell. Currently the following keys in the hash reference $CPAN::Config are defined: @@ -6921,7 +6921,7 @@ untended. Thanks to Graham Barr for contributing the following paragraphs about the interaction between perl, and various firewall configurations. For -further informations on firewalls, it is recommended to consult the +further information on firewalls, it is recommended to consult the documentation that comes with the ncftp program. If you are unable to go through the firewall with a simple Perl setup, it is very likely that you can configure ncftp so that it works for your firewall. diff --git a/lib/Digest.pm b/lib/Digest.pm index 41cee70..23454df 100644 --- a/lib/Digest.pm +++ b/lib/Digest.pm @@ -204,7 +204,7 @@ Note that the C operation is effectively a destructive, read-once operation. Once it has been performed, the $ctx object is automatically C and can be used to calculate another digest value. Call $ctx->clone->digest if you want to calculate the digest -without reseting the digest state. +without resetting the digest state. =item $ctx->hexdigest diff --git a/lib/ExtUtils/CBuilder/Platform/Windows.pm b/lib/ExtUtils/CBuilder/Platform/Windows.pm index 072791e..a26df29 100644 --- a/lib/ExtUtils/CBuilder/Platform/Windows.pm +++ b/lib/ExtUtils/CBuilder/Platform/Windows.pm @@ -260,10 +260,10 @@ sub perl_inc { =begin comment The packages below implement functions for generating properly -formated commandlines for the compiler being used. Each package +formatted commandlines for the compiler being used. Each package defines two primary functions 'format_linker_cmd()' & 'format_compiler_cmd()' that accepts a list of named arguments (a -hash) and returns a list of formated options suitable for invoking the +hash) and returns a list of formatted options suitable for invoking the compiler. By default, if the compiler supports scripting of its operation then a script file is built containing the options while those options are removed from the commandline, and a reference to the diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm index 8369e63..4d89b0d 100644 --- a/lib/ExtUtils/MM_Any.pm +++ b/lib/ExtUtils/MM_Any.pm @@ -1374,7 +1374,7 @@ Defines at least these macros. file UMASK_NULL Nullify umask - DEV_NULL Supress all command output + DEV_NULL Suppress all command output =head3 init_DIRFILESEP I diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 9d792a8..e770ac6 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -1030,7 +1030,7 @@ WARNING print "Executing $abs\n" if ($trace >= 2); my $version_check = qq{$abs -le "require $ver; print qq{VER_OK}"}; - # To avoid using the unportable 2>&1 to supress STDERR, + # To avoid using the unportable 2>&1 to suppress STDERR, # we close it before running the command. # However, thanks to a thread library bug in many BSDs # ( http://www.freebsd.org/cgi/query-pr.cgi?pr=51535 ) diff --git a/lib/ExtUtils/MM_VMS.pm b/lib/ExtUtils/MM_VMS.pm index 7677420..e2f3f77 100644 --- a/lib/ExtUtils/MM_VMS.pm +++ b/lib/ExtUtils/MM_VMS.pm @@ -283,7 +283,7 @@ sub maybe_command { =item pasthru (override) VMS has $(MMSQUALIFIERS) which is a listing of all the original command line -options. This is used in every invokation of make in the VMS Makefile so +options. This is used in every invocation of make in the VMS Makefile so PASTHRU should not be necessary. Using PASTHRU tends to blow commands past the 256 character limit. diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 0e65151..e1a2e3e 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -1937,7 +1937,7 @@ done. For instance, you would need to say: {'PM_FILTER' => 'grep -v \\"^\\#\\"'} -to remove all the leading coments on the fly during the build. The +to remove all the leading comments on the fly during the build. The extra \\ are necessary, unfortunately, because this variable is interpolated within the context of a Perl program built on the command line, and double quotes are what is used with the -e switch to build that command line. The @@ -2161,7 +2161,7 @@ passed to the method as a hash. =item depend - {ANY_TARGET => ANY_DEPENDECY, ...} + {ANY_TARGET => ANY_DEPENDENCY, ...} (ANY_TARGET must not be given a double-colon rule by MakeMaker.) @@ -2271,7 +2271,7 @@ Some of the most common mistakes: =item C<< MAN3PODS => ' ' >> -This is commonly used to supress the creation of man pages. MAN3PODS +This is commonly used to suppress the creation of man pages. MAN3PODS takes a hash ref not a string, but the above worked by accident in old versions of MakeMaker. diff --git a/lib/ExtUtils/ParseXS.pm b/lib/ExtUtils/ParseXS.pm index fb2c7aa..1683da6 100644 --- a/lib/ExtUtils/ParseXS.pm +++ b/lib/ExtUtils/ParseXS.pm @@ -1870,7 +1870,7 @@ sub DESTROY { } sub UNTIE { - # This sub does nothing, but is neccessary for references to be released. + # This sub does nothing, but is necessary for references to be released. } sub end_marker { @@ -1939,7 +1939,7 @@ Adds C to the C code. Default is false. =item B -Retains C<::> in type names so that C++ hierachical types can be +Retains C<::> in type names so that C++ hierarchical types can be mapped. Default is false. =item B diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm index c89c752..837b753 100644 --- a/lib/File/Basename.pm +++ b/lib/File/Basename.pm @@ -20,7 +20,7 @@ and suffix. B: C and C emulate the behaviours, and quirks, of the shell and C functions of the same name. See each -function's documention for details. If your concern is just parsing +function's documentation for details. If your concern is just parsing paths it is safer to use L's C and C methods. diff --git a/lib/File/Spec/Mac.pm b/lib/File/Spec/Mac.pm index 81016b3..8b51bd6 100644 --- a/lib/File/Spec/Mac.pm +++ b/lib/File/Spec/Mac.pm @@ -53,7 +53,7 @@ done in MacPerl's environment and helps to distinguish a file path from a directory path. B Beginning with version 1.3 of this module, the resulting -path is relative by default and I absolute. This descision was made due +path is relative by default and I absolute. This decision was made due to portability reasons. Since Ccatdir()> returns relative paths on all other operating systems, it will now also follow this convention on Mac OS. Note that this may break some existing scripts. @@ -272,7 +272,7 @@ by default, but can be forced to be absolute (but avoid this). B Beginning with version 1.3 of this module, the resulting path is relative by default and I absolute. This -descision was made due to portability reasons. Since +decision was made due to portability reasons. Since Ccatfile()> returns relative paths on all other operating systems, it will now also follow this convention on Mac OS. Note that this may break some existing scripts. diff --git a/lib/File/Temp.pm b/lib/File/Temp.pm index 1266f6c..2af7cde 100644 --- a/lib/File/Temp.pm +++ b/lib/File/Temp.pm @@ -1863,7 +1863,7 @@ fields returned by stat() are compared). Returns false if the stat information differs or if the link count is greater than 1. -On certain platofms, eg Windows, not all the fields returned by stat() +On certain platforms, e.g. Windows, not all the fields returned by stat() can be compared. For example, the C and C fields seem to be different in Windows. Also, it seems that the size of the file returned by stat() does not always agree, with C being more diff --git a/lib/Filter/Simple.pm b/lib/Filter/Simple.pm index f5404e9..bd267a9 100644 --- a/lib/Filter/Simple.pm +++ b/lib/Filter/Simple.pm @@ -650,7 +650,7 @@ backtranslations are altered in C<@components>, they will be similarly changed when the placeholders are removed from C<$_> after the filter is complete. -For example, the following filter detects concatentated pairs of +For example, the following filter detects concatenated pairs of strings/quotelikes and reverses the order in which they are concatenated: diff --git a/lib/Getopt/Long.pm b/lib/Getopt/Long.pm index d47093d..ace249a 100644 --- a/lib/Getopt/Long.pm +++ b/lib/Getopt/Long.pm @@ -1605,7 +1605,7 @@ destination: Used with the example above, C<@libfiles> (or C<@$libfiles>) would contain two strings upon completion: C<"lib/srdlib"> and C<"lib/extlib">, in that order. It is also possible to specify that -only integer or floating point numbers are acceptible values. +only integer or floating point numbers are acceptable values. Often it is useful to allow comma-separated lists of values as well as multiple occurrences of the options. This is easy using Perl's split() @@ -1656,7 +1656,7 @@ When used with command line options: the hash C<%defines> (or C<%$defines>) will contain two keys, C<"os"> with value C<"linux> and C<"vendor"> with value C<"redhat">. It is also possible to specify that only integer or floating point numbers -are acceptible values. The keys are always taken to be strings. +are acceptable values. The keys are always taken to be strings. =head2 User-defined subroutines to handle options @@ -1686,7 +1686,7 @@ the desired error message as its argument. GetOptions() will catch the die(), issue the error message, and record that an error result must be returned upon completion. -If the text of the error message starts with an exclamantion mark C +If the text of the error message starts with an exclamation mark C it is interpreted specially by GetOptions(). There is currently one special command implemented: C will cause GetOptions() to stop processing options, as if it encountered a double dash C<-->. @@ -1890,7 +1890,7 @@ messages. For example: =head1 DESCRIPTION - B will read the given input file(s) and do someting + B will read the given input file(s) and do something useful with the contents thereof. =cut @@ -1962,7 +1962,7 @@ The first level of bundling can be enabled with: Configured this way, single-character options can be bundled but long options B always start with a double dash C<--> to avoid -abiguity. For example, when C, C, C and C are all valid +ambiguity. For example, when C, C, C and C are all valid options, -vax @@ -2115,7 +2115,7 @@ is equivalent to --foo --bar arg1 arg2 arg3 If an argument callback routine is specified, C<@ARGV> will always be -empty upon succesful return of GetOptions() since all options have been +empty upon successful return of GetOptions() since all options have been processed. The only exception is when C<--> is used: --foo arg1 --bar arg2 -- arg3 @@ -2152,7 +2152,7 @@ auto_abbrev enabled, possible arguments and option settings are: -al, -la, -ala, -all,... a, l --al, --all all -The suprising part is that C<--a> sets option C (due to auto +The surprising part is that C<--a> sets option C (due to auto completion), not C. Note: disabling C also disables C. diff --git a/lib/I18N/LangTags.pm b/lib/I18N/LangTags.pm index 6a39cae..0bdc65f 100644 --- a/lib/I18N/LangTags.pm +++ b/lib/I18N/LangTags.pm @@ -489,7 +489,7 @@ lookup in %greetings fails. That's the Wrong Thing. You could instead do lookups on $wanted with: use I18N::LangTags qw(same_language_tag); - my $repsonse = ''; + my $response = ''; foreach my $l2 (keys %greetings) { if(same_language_tag($wanted, $l2)) { $response = $greetings{$l2}; diff --git a/lib/I18N/LangTags/List.pm b/lib/I18N/LangTags/List.pm index 5e5363f..5494bea 100644 --- a/lib/I18N/LangTags/List.pm +++ b/lib/I18N/LangTags/List.pm @@ -151,7 +151,7 @@ the language tag is syntactically valid and is for general use (like syntactically invalid and for tags, like "aus", that are listed in brackets below. This function is not exported. -The map of tags-to-names that it uses is accessable as +The map of tags-to-names that it uses is accessible as %I18N::LangTags::List::Name, and it's the same as the list that follows in this documentation, which should be useful to you even if you don't use this module. diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm index 4830618..c926de0 100644 --- a/lib/Math/BigFloat.pm +++ b/lib/Math/BigFloat.pm @@ -204,7 +204,7 @@ sub new $self->{sign} = $$mis; # for something like 0Ey, set y to 1, and -0 => +0 - # Check $$miv for beeing '0' and $$mfv eq '', because otherwise _m could not + # Check $$miv for being '0' and $$mfv eq '', because otherwise _m could not # have become 0. That's faster than to call $MBI->_is_zero(). $self->{sign} = '+', $self->{_e} = $MBI->_one() if $$miv eq '0' and $$mfv eq ''; @@ -2557,7 +2557,7 @@ Math::BigFloat - Arbitrary size floating point math package # The following all modify their first argument. If you want to preserve # $x, use $z = $x->copy()->bXXX($y); See under L for why this is - # neccessary when mixing $a = $b assigments with non-overloaded math. + # necessary when mixing $a = $b assignments with non-overloaded math. # set $x->bzero(); # set $i to 0 @@ -2632,7 +2632,7 @@ Math::BigFloat - Arbitrary size floating point math package =head1 DESCRIPTION -All operators (inlcuding basic math operations) are overloaded if you +All operators (including basic math operations) are overloaded if you declare your big floating point numbers as $i = new Math::BigFloat '12_3.456_789_123_456_789E-2'; @@ -2665,7 +2665,7 @@ C =back -all with optional leading and trailing zeros and/or spaces. Additonally, +all with optional leading and trailing zeros and/or spaces. Additionally, numbers are allowed to have an underscore between any two digits. Empty strings as well as other illegal numbers results in 'NaN'. @@ -2756,11 +2756,11 @@ supplied to the operation after the I: Note that C<< Math::BigFloat->accuracy() >> and C<< Math::BigFloat->precision() >> set the global variables, and thus B newly created number will be subject -to the global rounding B. This means that in the examples above, the +to the global rounding B. This means that in the examples above, the C<3> as argument to C will also get an accuracy of B<5>. It is less confusing to either calculate the result fully, and afterwards -round it explicitely, or use the additional parameters to the math +round it explicitly, or use the additional parameters to the math functions like so: use Math::BigFloat; @@ -2844,7 +2844,7 @@ Warning! The accuracy I, e.g. once you created a number under the influence of C<< CLASS->accuracy($A) >>, all results from math operations with that number will also be rounded. -In most cases, you should probably round the results explicitely using one of +In most cases, you should probably round the results explicitly using one of L, L or L or by passing the desired accuracy to the math operation as additional parameter: @@ -2904,7 +2904,7 @@ Math::BigInt::Bar, and when this also fails, revert to Math::BigInt::Calc: use Math::BigFloat lib => 'Foo,Math::BigInt::Bar'; Calc.pm uses as internal format an array of elements of some decimal base -(usually 1e7, but this might be differen for some systems) with the least +(usually 1e7, but this might be different for some systems) with the least significant digit first, while BitVect.pm uses a bit vector of base 2, most significant bit first. Other modules might use even different means of representing the numbers. See the respective module documentation for further @@ -2925,7 +2925,7 @@ It is also possible to just require Math::BigFloat: require Math::BigFloat; -This will load the neccessary things (like BigInt) when they are needed, and +This will load the necessary things (like BigInt) when they are needed, and automatically. Use the lib, Luke! And see L for more details than @@ -2971,9 +2971,9 @@ words, Math::BigFloat will try to retain previously loaded libs when you don't specify it onem but if you specify one, it will try to load them. Actually, the lib loading order would be "Bar,Baz,Calc", and then -"Foo,Bar,Baz,Calc", but independend of which lib exists, the result is the +"Foo,Bar,Baz,Calc", but independent of which lib exists, the result is the same as trying the latter load alone, except for the fact that one of Bar or -Baz might be loaded needlessly in an intermidiate step (and thus hang around +Baz might be loaded needlessly in an intermediate step (and thus hang around and waste memory). If neither Bar nor Baz exist (or don't work/compile), they will still be tried to be loaded, but this is not as time/memory consuming as actually loading one of them. Still, this type of usage is not recommended due @@ -3046,7 +3046,7 @@ The following will probably not do what you expect: print $c->bdiv(123.456),"\n"; It prints both quotient and reminder since print works in list context. Also, -bdiv() will modify $c, so be carefull. You probably want to use +bdiv() will modify $c, so be careful. You probably want to use print $c / 123.456,"\n"; print scalar $c->bdiv(123.456),"\n"; # or if you want to modify $c @@ -3096,7 +3096,7 @@ Replacing L with L is probably not what you want, either: use Math::BigFloat; Math::BigFloat->accuracy(4); # enables global rounding: - my $x = Math::BigFloat->new(123456); # rounded immidiately to "12350" + my $x = Math::BigFloat->new(123456); # rounded immediately to "12350" print "$x\n"; # print "123500" my $y = Math::BigFloat->new(3); # rounded to "3 print "$y\n"; # print "3" diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm index e40809e..758d7d8 100644 --- a/lib/Math/BigInt.pm +++ b/lib/Math/BigInt.pm @@ -727,7 +727,7 @@ sub bzero sub bone { # create a bigint '+1' (or -1 if given sign '-'), - # if given a BigInt, set it to +1 or -1, respecively + # if given a BigInt, set it to +1 or -1, respectively my $self = shift; my $sign = shift; $sign = '+' if !defined $sign || $sign ne '-'; $self = $class if !defined $self; @@ -2264,7 +2264,7 @@ sub objectify # the first argument is number of args objectify() should look at it will # return $count+1 elements, the first will be a classname. This is because # overloaded '""' calls bstr($object,undef,undef) and this would result in - # useless objects beeing created and thrown away. So we cannot simple loop + # useless objects being created and thrown away. So we cannot simple loop # over @_. If the given count is 0, all arguments will be used. # If the second arg is a ref, use it as class. @@ -2683,7 +2683,7 @@ Math::BigInt - Arbitrary size integer/float math package $x->is_inf($sign); # if $x is +inf, or -inf (sign is default '+') $x->is_int(); # if $x is an integer (not a float) - # comparing and digit/sign extration + # comparing and digit/sign extraction $x->bcmp($y); # compare numbers (undef,<0,=0,>0) $x->bacmp($y); # compare absolutely (undef,<0,=0,>0) $x->sign(); # return the sign, either +,- or NaN @@ -2692,7 +2692,7 @@ Math::BigInt - Arbitrary size integer/float math package # The following all modify their first argument. If you want to preserve # $x, use $z = $x->copy()->bXXX($y); See under L for why this is - # neccessary when mixing $a = $b assigments with non-overloaded math. + # necessary when mixing $a = $b assignments with non-overloaded math. $x->bzero(); # set $x to 0 $x->bnan(); # set $x to NaN @@ -2783,7 +2783,7 @@ Math::BigInt - Arbitrary size integer/float math package =head1 DESCRIPTION -All operators (inlcuding basic math operations) are overloaded if you +All operators (including basic math operations) are overloaded if you declare your big integers as $i = new Math::BigInt '123_456_789_123_456_789'; @@ -2871,7 +2871,7 @@ appropriate information. even version version number of the class you used 1.61 - div_scale Fallback acccuracy for div + div_scale Fallback accuracy for div 40 trap_nan If true, traps creation of NaN via croak() 1 @@ -2903,7 +2903,7 @@ Warning! The accuracy I, e.g. once you created a number under the influence of C<< CLASS->accuracy($A) >>, all results from math operations with that number will also be rounded. -In most cases, you should probably round the results explicitely using one of +In most cases, you should probably round the results explicitly using one of L, L or L or by passing the desired accuracy to the math operation as additional parameter: @@ -3068,7 +3068,7 @@ If used on an object, it will set it to one: $x->is_inf(); # true if +inf $x->is_inf('-'); # true if -inf (sign is default '+') -These methods all test the BigInt for beeing one specific value and return +These methods all test the BigInt for being one specific value and return true or false depending on the input. These are faster than doing something like: @@ -3085,7 +3085,7 @@ C<-inf> is negative. A C is neither positive nor negative. These methods are only testing the sign, and not the value. -C and C are aliase to C and +C and C are aliases to C and C, respectively. C and C were introduced in v1.36, while C and C were only introduced in v1.68. @@ -3340,7 +3340,7 @@ v1.22, while C was only introduced in v1.68. $x->bstr(); -Returns a normalized string represantation of C<$x>. +Returns a normalized string representation of C<$x>. =head2 bsstr @@ -3511,7 +3511,7 @@ versions <= 5.7.2) is like this: result has at most max(scale, length(dividend), length(divisor)) digits Actual code: scale = max(scale, length(dividend)-1,length(divisor)-1); - scale += length(divisior) - length(dividend); + scale += length(divisor) - length(dividend); So for lx = 3, ly = 9, scale = 10, scale will actually be 16 (10+9-3). Actually, the 'difference' added to the scale is calculated from the number of "significant digits" in dividend and divisor, which is derived @@ -3550,7 +3550,7 @@ This is how it works now: * to find out the current global P, use C<< Math::SomeClass->precision() >> * use C<< $x->accuracy() >> respective C<< $x->precision() >> for the local setting of C<< $x >>. - * Please note that C<< $x->accuracy() >> respecive C<< $x->precision() >> + * Please note that C<< $x->accuracy() >> respective C<< $x->precision() >> return eventually defined global A or P, when C<< $x >>'s A or P is not set. @@ -3596,7 +3596,7 @@ This is how it works now: be automatically cleared. * If two objects are involved in an operation, and one of them has A in effect, and the other P, this results in an error (NaN). - * A takes precendence over P (Hint: A comes before P). + * A takes precedence over P (Hint: A comes before P). If neither of them is defined, nothing is used, i.e. the result will have as many digits as it can (with an exception for fdiv/fsqrt) and will not be rounded. @@ -3614,7 +3614,7 @@ This is how it works now: + never round (this is the default): This is done by setting A and P to undef. No math operation will round the result, with fdiv() and fsqrt() as exceptions to guard - against overflows. You must explicitely call bround(), bfround() or + against overflows. You must explicitly call bround(), bfround() or round() (the latter with parameters). Note: Once you have rounded a number, the settings will 'stick' on it and 'infect' all other numbers engaged in math operations with it, since @@ -3734,7 +3734,7 @@ overloading these routines is not possible, this cannot be fixed from BigInt. =item ==, !=, <, >, <=, >= with NaNs BigInt's bcmp() routine currently returns undef to signal that a NaN was -involved in a comparisation. However, the overload code turns that into +involved in a comparison. However, the overload code turns that into either 1 or '' and thus operations like C<< NaN != NaN >> might return wrong values. @@ -3926,7 +3926,7 @@ more time then the actual addition. With a technique called copy-on-write, the cost of copying with overload could be minimized or even completely avoided. A test implementation of COW did show performance gains for overloaded math, but introduced a performance loss due -to a constant overhead for all other operatons. So Math::BigInt does currently +to a constant overhead for all other operations. So Math::BigInt does currently not COW. The rewritten version of this module (vs. v0.01) is slower on certain @@ -4133,7 +4133,7 @@ Additionally, the following still works: There is now a C method to get the string in scientific notation aka C<1e+2> instead of C<100>. Be advised that overloaded 'eq' always uses bstr() -for comparisation, but Perl will represent some numbers as 100 and others +for comparison, but Perl will represent some numbers as 100 and others as 1e+308. If in doubt, convert both arguments to Math::BigInt before comparing them as strings: @@ -4147,7 +4147,7 @@ comparing them as strings: $y = Math::BigInt->new($y); ok ($x,$y); # okay -Alternatively, simple use C<< <=> >> for comparisations, this will get it +Alternatively, simple use C<< <=> >> for comparisons, this will get it always right. There is not yet a way to get a number automatically represented as a string that matches exactly the way Perl represents it. @@ -4173,7 +4173,7 @@ effect: This also works for other subclasses, like Math::String. -It is yet unlcear whether overloaded int() should return a scalar or a BigInt. +It is yet unclear whether overloaded int() should return a scalar or a BigInt. If you want a real Perl scalar, use C: @@ -4203,7 +4203,7 @@ The following will probably not do what you expect: print $c->bdiv(10000),"\n"; It prints both quotient and remainder since print calls C in list -context. Also, C will modify $c, so be carefull. You probably want +context. Also, C will modify $c, so be careful. You probably want to use print $c / 10000,"\n"; @@ -4232,7 +4232,7 @@ manpage), and the equation holds true for any $x and $y, which justifies calling the two return values of bdiv() the quotient and remainder. The only exception to this rule are when $y == 0 and $x is negative, then the remainder will also be -negative. See below under "infinity handling" for the reasoning behing this. +negative. See below under "infinity handling" for the reasoning behind this. Perl's 'use integer;' changes the behaviour of % and / for scalars, but will not change BigInt's way to do things. This is because under 'use integer' Perl @@ -4444,7 +4444,7 @@ Completely rewritten by Tels http://bloodgate.com in late 2000, 2001 - 2004 and still at it in 2005. Many people contributed in one or more ways to the final beast, see the file -CREDITS for an (uncomplete) list. If you miss your name, please drop me a +CREDITS for an (incomplete) list. If you miss your name, please drop me a mail. Thank you! =cut diff --git a/lib/Math/BigInt/Calc.pm b/lib/Math/BigInt/Calc.pm index 4bdd3e6..856bc0d 100644 --- a/lib/Math/BigInt/Calc.pm +++ b/lib/Math/BigInt/Calc.pm @@ -1970,7 +1970,7 @@ Math::BigInt v1.70 or later: _num(obj) returns a Perl integer/floating point number NOTE: because of Perl numeric notation defaults, the _num'ified obj may lose accuracy due to - machine-dependend floating point size limitations + machine-dependent floating point size limitations _add(obj,obj) Simple addition of two objects _mul(obj,obj) Multiplication of two objects @@ -1985,7 +1985,7 @@ Math::BigInt v1.70 or later: are swapped. In this case, the first param needs to be preserved, while you can destroy the second. sub (x,y,1) => return x - y and keep x intact! - _dec(obj) decrement object by one (input is garant. to be > 0) + _dec(obj) decrement object by one (input is guaranteed to be > 0) _inc(obj) increment object by one @@ -2060,11 +2060,11 @@ cases. The first parameter can be modified, that includes the possibility that you return a reference to a completely different object instead. Although keeping -the reference and just changing it's contents is prefered over creating and +the reference and just changing it's contents is preferred over creating and returning a different reference. Return values are always references to objects, strings, or true/false for -comparisation routines. +comparison routines. =head1 WRAP YOUR OWN diff --git a/lib/Math/BigRat.pm b/lib/Math/BigRat.pm index 6243dd4..d18ea07 100644 --- a/lib/Math/BigRat.pm +++ b/lib/Math/BigRat.pm @@ -1440,7 +1440,7 @@ Currently the following replacement libraries exist, search for them at CPAN: =head1 METHODS -Any methods not listed here are dervied from Math::BigFloat (or +Any methods not listed here are derived from Math::BigFloat (or Math::BigInt), so make sure you check these two modules for further information. @@ -1636,7 +1636,7 @@ appropriate information. undef round_mode RW Global round mode even - div_scale RW Fallback acccuracy for div + div_scale RW Fallback accuracy for div 40 trap_nan RW Trap creation of NaN (undef = no) undef diff --git a/lib/NEXT.pm b/lib/NEXT.pm index 1c6a316..51dec91 100644 --- a/lib/NEXT.pm +++ b/lib/NEXT.pm @@ -233,7 +233,7 @@ do better. By default, if a redispatch attempt fails to find another method elsewhere in the objects class hierarchy, it quietly gives up and does -nothing (but see L<"Enforcing redispatch">). This gracious acquiesence +nothing (but see L<"Enforcing redispatch">). This gracious acquiescence is also unlike the (generally annoying) behaviour of C, which throws an exception if it cannot redispatch. @@ -420,7 +420,7 @@ order. Instead, they are called "breadth-first-dependency-wise". That means that the inheritance tree of the object is traversed breadth-first and the resulting order of classes is used as the sequence in which methods are called. However, that sequence is modified by imposing a rule that the -appropritae method of a derived class must be called before the same method of +appropriate method of a derived class must be called before the same method of any ancestral class. That's why, in the above example, C is called before C, even though C comes before C in C<@B::ISA>. diff --git a/lib/Net/Cmd.pm b/lib/Net/Cmd.pm index b39375f..f7c7484 100644 --- a/lib/Net/Cmd.pm +++ b/lib/Net/Cmd.pm @@ -749,7 +749,7 @@ Returns a filehandle tied to the Net::Cmd object. After issuing a command, you may read from this filehandle using read() or <>. The filehandle will return EOF when the final dot is encountered. Similarly, you may write to the filehandle in order to send data to -the server after issuing a commmand that expects data to be written. +the server after issuing a command that expects data to be written. See the Net::POP3 and Net::SMTP modules for examples of this. diff --git a/lib/Net/Config.pm b/lib/Net/Config.pm index 8984ed7..a502abe 100644 --- a/lib/Net/Config.pm +++ b/lib/Net/Config.pm @@ -129,7 +129,7 @@ Net::Config - Local configuration data for libnet =head1 DESCRIPTION C holds configuration data for the modules in the libnet -distribuion. During installation you will be asked for these values. +distribution. During installation you will be asked for these values. The configuration data is held globally in a file in the perl installation tree, but a user may override any of these values by providing their own. This @@ -139,7 +139,7 @@ For example # .libnetrc { - nntp_hosts => [ "my_prefered_host" ], + nntp_hosts => [ "my_preferred_host" ], ph_hosts => [ "my_ph_server" ], } __END__ @@ -267,7 +267,7 @@ There is no firewall =item ftp_ext_passive -=item ftp_int_pasive +=item ftp_int_passive FTP servers normally work on a non-passive mode. That is when you want to transfer data you have to tell the server the address and port to diff --git a/lib/Net/FTP.pm b/lib/Net/FTP.pm index aac72b2..7dfe0ab 100644 --- a/lib/Net/FTP.pm +++ b/lib/Net/FTP.pm @@ -1314,7 +1314,7 @@ B - The name of a machine which acts as an FTP firewall. This can be overridden by an environment variable C. If specified, and the given host cannot be directly connected to, then the connection is made to the firewall machine and the string C<@hostname> is -appended to the login identifier. This kind of setup is also refered to +appended to the login identifier. This kind of setup is also referred to as an ftp proxy. B - The type of firewall running on the machine indicated by @@ -1441,7 +1441,7 @@ Returns the full pathname to the new directory. =item alloc ( SIZE [, RECORD_SIZE] ) The alloc command allows you to give the ftp server a hint about the size -of the file about to be transfered using the ALLO ftp command. Some storage +of the file about to be transferred using the ALLO ftp command. Some storage systems use this to make intelligent decisions about how to store the file. The C argument represents the size of the file in bytes. The C argument indicates a mazimum record or page size for files @@ -1449,7 +1449,7 @@ sent with a record or page structure. The size of the file will be determined, and sent to the server automatically for normal files so that this method need only be called if -you are transfering data from a socket, named pipe, or other stream not +you are transferring data from a socket, named pipe, or other stream not associated with a normal file. =item ls ( [ DIR ] ) @@ -1473,7 +1473,7 @@ a filename or a filehandle. If not specified, the file will be stored in the current directory with the same leafname as the remote file. If C is given then the first C bytes of the file will -not be transfered, and the remaining bytes will be appended to +not be transferred, and the remaining bytes will be appended to the local file if it already exists. Returns C, or the generated local file name if C @@ -1490,7 +1490,7 @@ Returns C, or the generated remote filename if C is not given. B: If for some reason the transfer does not complete and an error is -returned then the contents that had been transfered will not be remove +returned then the contents that had been transferred will not be remove automatically. =item put_unique ( LOCAL_FILE [, REMOTE_FILE ] ) @@ -1520,7 +1520,7 @@ Returns the I of the given file Returns the size in bytes for the given file as stored on the remote server. B: The size reported is the size of the stored file on the remote server. -If the file is subsequently transfered from the server in ASCII mode +If the file is subsequently transferred from the server in ASCII mode and the remote server and local machine have different ideas about "End Of Line" then the size of file on the local machine after transfer may be different. diff --git a/lib/Net/NNTP.pm b/lib/Net/NNTP.pm index f9a6ddf..0467a80 100644 --- a/lib/Net/NNTP.pm +++ b/lib/Net/NNTP.pm @@ -767,7 +767,7 @@ specified article. If C is specified then it is expected to be a valid filehandle and the result will be printed to it, on success a true value will be returned. If C is not specified then the return value, on success, -will be a reference to an array containg the article requested, each +will be a reference to an array containing the article requested, each entry in the array will contain one line of the article. If no arguments are passed then the current article in the currently diff --git a/lib/Net/POP3.pm b/lib/Net/POP3.pm index a04e12a..510d186 100644 --- a/lib/Net/POP3.pm +++ b/lib/Net/POP3.pm @@ -572,7 +572,7 @@ Return the sever's connection banner =item capa () -Return a reference to a hash of the capabilties of the server. APOP +Return a reference to a hash of the capabilities of the server. APOP is added as a pseudo capability. Note that I've been unable to find a list of the standard capability values, and some appear to be multi-word and some are not. We make an attempt at intelligently @@ -639,7 +639,7 @@ when the server connection closed. =item reset () -Reset the status of the remote POP3 server. This includes reseting the +Reset the status of the remote POP3 server. This includes resetting the status of all messages to not be deleted. =item quit () diff --git a/lib/Net/Ping.pm b/lib/Net/Ping.pm index e989261..bd0855f 100644 --- a/lib/Net/Ping.pm +++ b/lib/Net/Ping.pm @@ -252,7 +252,7 @@ sub mselect } } -# Description: Allow UDP source endpoint comparision to be +# Description: Allow UDP source endpoint comparison to be # skipped for those remote interfaces that do # not response from the same endpoint. @@ -1474,7 +1474,7 @@ otherwise it will return false. NOTE: Unlike the other protocols, the return value does NOT determine if the remote host is alive or not since the full TCP three-way handshake may not have completed yet. The remote host is only considered reachable if it receives -a TCP ACK within the timeout specifed. To begin waiting for the +a TCP ACK within the timeout specified. To begin waiting for the ACK packets, use the ack() method as explained below. Use the "syn" protocol instead the "tcp" protocol to determine reachability of multiple destinations simultaneously by sending parallel TCP @@ -1506,10 +1506,10 @@ otherwise. The maximum number of data bytes that can be specified is 1024. If $device is given, this device is used to bind the source endpoint -before sending the ping packet. I beleive this only works with +before sending the ping packet. I believe this only works with superuser privileges and with udp and icmp protocols at this time. -If $tos is given, this ToS is configured into the soscket. +If $tos is given, this ToS is configured into the socket. =item $p->ping($host [, $timeout]); @@ -1562,7 +1562,7 @@ This is disabled by default. =item $p->tcp_service_check( { 0 | 1 } ); -Depricated method, but does the same as service_check() method. +Deprecated method, but does the same as service_check() method. =item $p->hires( { 0 | 1 } ); @@ -1611,7 +1611,7 @@ connection will not be established and ack() will return undef. In list context, the host, the ack time, and the dotted ip string will be returned instead of just the host. If the optional $host argument is specified, the return -value will be partaining to that host only. +value will be pertaining to that host only. This call simply does nothing if you are using any protocol other than syn. diff --git a/lib/Net/SMTP.pm b/lib/Net/SMTP.pm index 44a955a..2e410dd 100644 --- a/lib/Net/SMTP.pm +++ b/lib/Net/SMTP.pm @@ -824,11 +824,11 @@ Send the QUIT command to the remote SMTP server and close the socket connection. Net::SMTP attempts to DWIM with addresses that are passed. For example an application might extract The From: line from an email -and pass that to mail(). While this may work, it is not reccomended. +and pass that to mail(). While this may work, it is not recommended. The application should really use a module like L to extract the mail address and pass that. -If C is passed to the contructor, then addresses +If C is passed to the constructor, then addresses should be a valid rfc2821-quoted address, although Net::SMTP will accept accept the address surrounded by angle brackets. diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm index b3693c9..60c73bc 100644 --- a/lib/PerlIO.pm +++ b/lib/PerlIO.pm @@ -188,7 +188,7 @@ An example of a possible use might be: ... binmode($fh,":encoding(...)"); # next chunk is encoded ... - binmode($fh,":pop"); # back to un-encocded + binmode($fh,":pop"); # back to un-encoded A more elegant (and safer) interface is needed. diff --git a/lib/Pod/Checker.pm b/lib/Pod/Checker.pm index aeb550d..f20fe84 100644 --- a/lib/Pod/Checker.pm +++ b/lib/Pod/Checker.pm @@ -142,7 +142,7 @@ There is no specification of the formatter after the C<=for> command. =item * unresolved internal link I The given link to I does not have a matching node in the current -POD. This also happend when a single word node name is not enclosed in +POD. This also happens when a single word node name is not enclosed in C<"">. =item * Unknown command "I" @@ -234,7 +234,7 @@ C<=over>/C<=back> block. =item * =item type mismatch (I vs. I) -A list started with e.g. a bulletted C<=item> and continued with a +A list started with e.g. a bulleted C<=item> and continued with a numbered one. This is obviously inconsistent. For most translators the type of the I C<=item> determines the type of the list. diff --git a/lib/Pod/Functions.pm b/lib/Pod/Functions.pm index e185381..3af2585 100644 --- a/lib/Pod/Functions.pm +++ b/lib/Pod/Functions.pm @@ -27,13 +27,13 @@ It exports the following variables: =item %Kinds -This holds a hash-of-lists. Each list contains the functions in the catagory +This holds a hash-of-lists. Each list contains the functions in the category the key denotes. =item %Type -In this hash each key represents a function and the value is the catagory. -The catagory can be a comma separated list. +In this hash each key represents a function and the value is the category. +The category can be a comma separated list. =item %Flavor @@ -42,12 +42,12 @@ description of that function. =item %Type_Description -In this hash each key represents a catagory of functions and the value is -a short description of that catagory. +In this hash each key represents a category of functions and the value is +a short description of that category. =item @Type_Order -This list of catagories is used to produce the same order as the +This list of categories is used to produce the same order as the L section. =back diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 64fa030..3e58162 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -635,7 +635,7 @@ Usage: $0 --help --htmlroot= --infile= --outfile= pods (empty by default). --podroot - filesystem base directory from which all relative paths in podpath stem (default is .). - --[no]quiet - supress some benign warning messages (default is off). + --[no]quiet - suppress some benign warning messages (default is off). --[no]recurse - recurse on those subdirectories listed in podpath (default behaviour). --title - title that will appear in resulting html file. diff --git a/lib/Pod/InputObjects.pm b/lib/Pod/InputObjects.pm index fa5f61f..222061f 100644 --- a/lib/Pod/InputObjects.pm +++ b/lib/Pod/InputObjects.pm @@ -183,7 +183,7 @@ sub name { my $handle = $pod_input->handle(); Returns a reference to the handle object from which input is read (the -one used to contructed this input source object). +one used to construct this input source object). =end __PRIVATE__ diff --git a/lib/Pod/LaTeX.pm b/lib/Pod/LaTeX.pm index 9d3a905..501ca7f 100644 --- a/lib/Pod/LaTeX.pm +++ b/lib/Pod/LaTeX.pm @@ -494,7 +494,7 @@ If used in conjunction with C a full latex document will be written that could be immediately processed by C. For some pod escapes it may be necessary to include the amsmath -package. This is not yet added to the preamble automaatically. +package. This is not yet added to the preamble automatically. =cut diff --git a/lib/Pod/Parser.pm b/lib/Pod/Parser.pm index fc8fbc1..6c3f161 100644 --- a/lib/Pod/Parser.pm +++ b/lib/Pod/Parser.pm @@ -118,7 +118,7 @@ You may also want to override the B and B methods for your subclass (to perform any needed per-file and/or per-document initialization or cleanup). -If you need to perform any preprocesssing of input before it is parsed +If you need to perform any preprocessing of input before it is parsed you may want to override one or more of B and/or B. @@ -140,7 +140,7 @@ to avoid name collisions. For the most part, the B base class should be able to do most of the input parsing for you and leave you free to worry about -how to intepret the commands and translate the result. +how to interpret the commands and translate the result. Note that all we have described here in this quick overview is the simplest most straightforward use of B to do stream-based @@ -651,7 +651,7 @@ them in simple bottom-up order. The parameter C<$text> is a string or block of text to be parsed for interior sequences; and the parameter C<$line_num> is the -line number curresponding to the beginning of C<$text>. +line number corresponding to the beginning of C<$text>. B will parse the given text into a parse-tree of "nodes." and interior-sequences. Each "node" in the parse tree is either a diff --git a/lib/Pod/Select.pm b/lib/Pod/Select.pm index 1cc14df..d0cbec6 100644 --- a/lib/Pod/Select.pm +++ b/lib/Pod/Select.pm @@ -428,7 +428,7 @@ sub clear_selections { Returns a value of true if the given section and subsection heading titles match any of the currently selected section specifications in effect from prior calls to B and B (or if -there are no explictly selected/deselected sections). +there are no explicitly selected/deselected sections). The arguments C<$heading1>, C<$heading2>, etc. are the heading titles of the corresponding sections, subsections, etc. to try and match. If @@ -575,7 +575,7 @@ are used. All other arguments should correspond to the names of input files containing POD sections. A file name of "-" or "<&STDIN" will -be interpeted to mean standard input (which is the default if no +be interpreted to mean standard input (which is the default if no filenames are given). =cut diff --git a/lib/Pod/Usage.pm b/lib/Pod/Usage.pm index 16056ac..0827dcc 100644 --- a/lib/Pod/Usage.pm +++ b/lib/Pod/Usage.pm @@ -200,8 +200,8 @@ to C, just in case the user wants to pipe the output to a pager =item * If program usage has been explicitly requested by the user, it is often -desireable to exit with a status of 1 (as opposed to 0) after issuing -the user-requested usage message. It is also desireable to give a +desirable to exit with a status of 1 (as opposed to 0) after issuing +the user-requested usage message. It is also desirable to give a more verbose description of program usage in this case. =back diff --git a/lib/Switch.pm b/lib/Switch.pm index 646e7ce..4b1b3e2 100644 --- a/lib/Switch.pm +++ b/lib/Switch.pm @@ -681,7 +681,7 @@ Fall-though (trying another case after one has already succeeded) is usually a Bad Idea in a switch statement. However, this is Perl, not a police state, so there I a way to do it, if you must. -If a C block executes an untargetted C, control is +If a C block executes an untargeted C, control is immediately transferred to the statement I the C statement (i.e. usually another case), rather than out of the surrounding C block. @@ -713,7 +713,7 @@ For example: case /\d/ { handle_dig_any(); } } -If an untargetted C statement is executed in a case block, this +If an untargeted C statement is executed in a case block, this immediately transfers control out of the enclosing C block (in other words, there is an implicit C at the end of each normal C block). Thus the previous example could also have been diff --git a/lib/Term/ANSIColor.pm b/lib/Term/ANSIColor.pm index c48d414..68955ce 100644 --- a/lib/Term/ANSIColor.pm +++ b/lib/Term/ANSIColor.pm @@ -305,7 +305,7 @@ twenty-two in the constants interface. On the flip side, the constants interface has the advantage of better compile time error checking, since misspelled names of colors or attributes in calls to color() and colored() won't be caught until runtime whereas misspelled names of constants will be -caught at compile time. So, polute your namespace with almost two dozen +caught at compile time. So, pollute your namespace with almost two dozen subroutines that you may not even use that often, or risk a silly bug by mistyping an attribute. Your choice, TMTOWTDI after all. @@ -390,7 +390,7 @@ string. (Of course, you may consider it a bug that commas between all the constants aren't required, in which case you may feel free to insert commas unless you're using $Term::ANSIColor::AUTORESET.) -For easier debuging, you may prefer to always use the commas when not +For easier debugging, you may prefer to always use the commas when not setting $Term::ANSIColor::AUTORESET so that you'll get a fatal compile error rather than a warning. diff --git a/lib/Test.pm b/lib/Test.pm index f2cddc0..8c666d6 100644 --- a/lib/Test.pm +++ b/lib/Test.pm @@ -708,7 +708,7 @@ sub skip ($;$$$) { ++ $ntest; return 1; } else { - # backwards compatiblity (I think). skip() used to be + # backwards compatibility (I think). skip() used to be # called like ok(), which is weird. I haven't decided what to do with # this yet. # warn < and L. Some earlier versions of this module had docs with some confusing -typoes in the description of C. +typos in the description of C. =head1 SEE ALSO diff --git a/lib/Test/More.pm b/lib/Test/More.pm index a40ae4b..3183a60 100644 --- a/lib/Test/More.pm +++ b/lib/Test/More.pm @@ -630,7 +630,7 @@ messages which are safer than just C. diag(@diagnostic_message); Prints a diagnostic message which is guaranteed not to interfere with -test output. Like C @diagnostic_message is simply concatinated +test output. Like C @diagnostic_message is simply concatenated together. Handy for this sort of thing: @@ -1295,7 +1295,7 @@ Is better written: is_deeply( [sort @this], [sort @that] ); -B By historical accident, this is not a true set comparision. +B By historical accident, this is not a true set comparison. While the order of elements does not matter, duplicate elements do. Test::Deep contains much better set comparison functions. diff --git a/lib/Text/Balanced.pm b/lib/Text/Balanced.pm index 9cfe6bf..297e8df 100644 --- a/lib/Text/Balanced.pm +++ b/lib/Text/Balanced.pm @@ -1135,9 +1135,9 @@ The substring to be extracted must appear at the current C location of the string's variable (or at index zero, if no C position is defined). In other words, the C subroutines I -extract the first occurance of a substring anywhere +extract the first occurrence of a substring anywhere in a string (like an unanchored regex would). Rather, -they extract an occurance of the substring appearing +they extract an occurrence of the substring appearing immediately at the current matching position in the string (like a C<\G>-anchored regex would). @@ -1403,7 +1403,7 @@ See also: C<"extract_quotelike"> and C<"extract_codeblock">. C extracts any valid Perl variable or variable-involved expression, including scalars, arrays, hashes, array -accesses, hash look-ups, method calls through objects, subroutine calles +accesses, hash look-ups, method calls through objects, subroutine calls through subroutine references, etc. The subroutine takes up to two optional arguments: @@ -2062,7 +2062,7 @@ If none of the extractor subroutines succeeds, then one character is extracted from the start of the text and the extraction subroutines reapplied. Characters which are thus removed are accumulated and eventually become the next field (unless the fourth argument is true, in which -case they are disgarded). +case they are discarded). For example, the following extracts substrings that are valid Perl variables: diff --git a/lib/Text/Wrap.pm b/lib/Text/Wrap.pm index 602cdab..f12d458 100644 --- a/lib/Text/Wrap.pm +++ b/lib/Text/Wrap.pm @@ -143,11 +143,11 @@ B =head1 DESCRIPTION C 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 (C<$initial_tab>) and all subsequent lines (C<$subsequent_tab>) independently. Please note: C<$initial_tab> and C<$subsequent_tab> are the literal strings that will -be used: it is unlikley you would want to pass in a number. +be used: it is unlikely you would want to pass in a number. Text::Wrap::fill() is a simple multi-paragraph formatter. It formats each paragraph separately and then joins them together when it's done. It diff --git a/lib/Tie/File.pm b/lib/Tie/File.pm index a1f40af..2f247c3 100644 --- a/lib/Tie/File.pm +++ b/lib/Tie/File.pm @@ -656,7 +656,7 @@ sub _mtwrite { if (@_) { $unwritten = $self->_downcopy($data, $end, $_[1] - $end); } else { - # Make the file longer to accomodate the last segment that doesn' + # Make the file longer to accommodate the last segment that doesn' $unwritten = $self->_downcopy($data, $end); } } diff --git a/lib/Tie/Hash.pm b/lib/Tie/Hash.pm index 98e0d50..bc5611d 100644 --- a/lib/Tie/Hash.pm +++ b/lib/Tie/Hash.pm @@ -167,7 +167,7 @@ method. The methods C and C are not defined in B, B, or B. Tied hashes do not require -presense of these methods, but if defined, the methods will be called in +presence of these methods, but if defined, the methods will be called in proper time, see L. C is only defined in B and B. diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm index 54c07e7..1496663 100644 --- a/lib/Unicode/UCD.pm +++ b/lib/Unicode/UCD.pm @@ -294,7 +294,7 @@ to do the opposite and interpret the argument as a character block. The return value is a I: an anonymous list of lists that contain I, I code point pairs. You can test whether a code point is in a range using the L function. If the -argument is not a known charater block, C is returned. +argument is not a known character block, C is returned. =cut @@ -356,7 +356,7 @@ to do the opposite and interpret the argument as a character script. The return value is a I: an anonymous list of lists that contain I, I code point pairs. You can test whether a code point is in a range using the L function. If the -argument is not a known charater script, C is returned. +argument is not a known character script, C is returned. =cut diff --git a/lib/base.pm b/lib/base.pm index 001914b..9c2135b 100644 --- a/lib/base.pm +++ b/lib/base.pm @@ -97,7 +97,7 @@ ERROR push @{"$inheritor\::ISA"}, $base; if ( has_fields($base) || has_attr($base) ) { - # No multiple fields inheritence *suck* + # No multiple fields inheritance *suck* if ($fields_base) { require Carp; Carp::croak("Can't multiply inherit %FIELDS"); @@ -192,7 +192,7 @@ it, will define $VERSION in the base package, setting it to the string C<-1, set by base.pm>. Will also initialize the fields if one of the base classes has it. -Multiple inheritence of fields is B supported, if two or more +Multiple inheritance of fields is B supported, if two or more base classes each have inheritable fields the 'base' pragma will croak. See L, L and L for a description of this feature. diff --git a/lib/bigint.pm b/lib/bigint.pm index a53891a..831819b 100644 --- a/lib/bigint.pm +++ b/lib/bigint.pm @@ -321,7 +321,7 @@ following work: print $x + 1, " ", $y,"\n"; # prints 10 9 but calling any method that modifies the number directly will result in -B the original and the copy beeing destroyed: +B the original and the copy being destroyed: $x = 9; $y = $x; print $x->badd(1), " ", $y,"\n"; # prints 10 10 diff --git a/lib/bignum.pm b/lib/bignum.pm index 951bf95..79fb685 100644 --- a/lib/bignum.pm +++ b/lib/bignum.pm @@ -218,13 +218,13 @@ You can see this with the following: Don't worry if it says Math::BigInt::Lite, bignum and friends will use Lite if it is installed since it is faster for some operations. It will be -automatically upgraded to BigInt whenever neccessary: +automatically upgraded to BigInt whenever necessary: perl -Mbignum -le 'print ref(2**255)' This also means it is a bad idea to check for some specific package, since the actual contents of $x might be something unexpected. Due to the -transparent way of bignum C should not be neccessary, anyway. +transparent way of bignum C should not be necessary, anyway. Since Math::BigInt and BigFloat also overload the normal math operations, the following line will still work: @@ -364,7 +364,7 @@ following work: print $x + 1, " ", $y,"\n"; # prints 10 9 but calling any method that modifies the number directly will result in -B the original and the copy beeing destroyed: +B the original and the copy being destroyed: $x = 9; $y = $x; print $x->badd(1), " ", $y,"\n"; # prints 10 10 @@ -387,12 +387,12 @@ well as the documentation in BigInt for further details. =item inf() -A shortcut to return Math::BigInt->binf(). Usefull because Perl does not always +A shortcut to return Math::BigInt->binf(). Useful because Perl does not always handle bareword C properly. =item NaN() -A shortcut to return Math::BigInt->bnan(). Usefull because Perl does not always +A shortcut to return Math::BigInt->bnan(). Useful because Perl does not always handle bareword C properly. =item upgrade() diff --git a/lib/bigrat.pm b/lib/bigrat.pm index 8085b74..6b33b71 100644 --- a/lib/bigrat.pm +++ b/lib/bigrat.pm @@ -182,7 +182,7 @@ bigrat - Transparent BigNumber/BigRational support for Perl =head1 DESCRIPTION -All operators (inlcuding basic math operations) are overloaded. Integer and +All operators (including basic math operations) are overloaded. Integer and floating-point constants are created as proper BigInts or BigFloats, respectively. @@ -236,7 +236,7 @@ the BigInt or BigFloat API. It is wise to use only the bxxx() notation, and not the fxxx() notation, though. This makes you independed on the fact that the underlying object might morph into a different class than BigFloat. -=head2 Cavaet +=head2 Caveat But a warning is in order. When using the following to make a copy of a number, only a shallow copy will be made. @@ -255,7 +255,7 @@ following work: print $x + 1, " ", $y,"\n"; # prints 10 9 but calling any method that modifies the number directly will result in -B the original and the copy beeing destroyed: +B the original and the copy being destroyed: $x = 9; $y = $x; print $x->badd(1), " ", $y,"\n"; # prints 10 10 diff --git a/lib/blib.pm b/lib/blib.pm index df20add..6a1cf35 100644 --- a/lib/blib.pm +++ b/lib/blib.pm @@ -16,7 +16,7 @@ Looks for MakeMaker-like I<'blib'> directory structure starting in I (or current directory) and working back up to five levels of '..'. Intended for use on command line with B<-M> option as a way of testing -arbitary scripts against an uninstalled version of a package. +arbitrary scripts against an uninstalled version of a package. However it is possible to : diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index a191035..30412bc 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -60,7 +60,7 @@ allowing duplicate user messages to be displayed. This module also adds a stack trace to the error message when perl dies. This is useful for pinpointing what caused the death. The B<-traceonly> (or -just B<-t>) flag turns off the explantions of warning messages leaving just +just B<-t>) flag turns off the explanations of warning messages leaving just the stack traces. So if your script is dieing, run it again with perl -Mdiagnostics=-traceonly my_bad_script diff --git a/lib/perl5db.pl b/lib/perl5db.pl index ace1cdf..e783ef5 100644 --- a/lib/perl5db.pl +++ b/lib/perl5db.pl @@ -911,7 +911,7 @@ sub eval { # + Fix a side-effect of bug #24674 in the perl debugger ("odd taint bug") # Changes: 1.24: Mar 03, 2004 Richard Foley # + Added command to save all debugger commands for sourcing later. -# + Added command to display parent inheritence tree of given class. +# + Added command to display parent inheritance tree of given class. # + Fixed minor newline in history bug. # Changes: 1.25: Apr 17, 2004 Richard Foley # + Fixed option bug (setting invalid options + not recognising valid short forms) @@ -2743,7 +2743,7 @@ in this and all call levels above this one. # sure that the line specified really is breakable. # # On the other hand, if there was a subname supplied, the - # preceeding block has moved us to the proper file and + # preceding block has moved us to the proper file and # location within that file, and then scanned forward # looking for the next executable line. We have to make # sure that one was found. @@ -6634,7 +6634,7 @@ sub get_list { The C subroutine is the essence of fast and low-impact. We simply set an already-existing global scalar variable to a constant value. This avoids allocating any memory possibly in the middle of something that will -get all confused if we do, particularily under I. +get all confused if we do, particularly under I. =cut @@ -8312,7 +8312,7 @@ Find all the subroutines that might match in this package =item * -Add C, C, and C as possibles (we may be completing the keyword itself +Add C, C, and C as possibles (we may be completing the keyword itself) =item * diff --git a/lib/version.pm b/lib/version.pm index 3bb0bf8..e6e4f3e 100644 --- a/lib/version.pm +++ b/lib/version.pm @@ -152,7 +152,7 @@ purposes of comparison with other version objects. For example: $v = version->new( 1.002_03); # 1.2.30 See "Quoting" $v = version->new( 1.002003); # 1.2.3 -All of the preceeding examples except the second to last are true +All of the preceding examples except the second to last are true whether or not the input value is quoted. The important feature is that the input value contains only a single decimal. @@ -379,7 +379,7 @@ notation and stick with it, to reduce confusion. Perl6 version objects B only support numeric comparisons. See also L<"Quoting">. WARNING: Comparing version with unequal numbers of decimal places (whether -explicitely or implicitely initialized), may yield unexpected results at +explicitly or implicitly initialized), may yield unexpected results at first glance. For example, the following inequalities hold: version->new(0.96) > version->new(0.95); # 0.960.0 > 0.950.0 @@ -485,7 +485,7 @@ obeys the relationship Alpha versions with a single decimal place will be treated exactly as if they were L, for parsing purposes. The stringification for -alpha versions with a single decimal place may seem suprising, since any +alpha versions with a single decimal place may seem surprising, since any trailing zeros will visible. For example, the above $alphaver will print as 12.03_0100 diff --git a/lib/vmsish.pm b/lib/vmsish.pm index 4907ad3..a11c364 100644 --- a/lib/vmsish.pm +++ b/lib/vmsish.pm @@ -54,7 +54,7 @@ default of Universal Time (a.k.a Greenwich Mean Time, or GMT). This suppresses printing of VMS status messages to SYS$OUTPUT and SYS$ERROR if Perl terminates with an error status. and allows programs that are expecting "unix-style" Perl to avoid having to parse -VMS error messages. It does not supress any messages from Perl +VMS error messages. It does not suppress any messages from Perl itself, just the messages generated by DCL after Perl exits. The DCL symbol $STATUS will still have the termination status, but with a high-order bit set: @@ -103,7 +103,7 @@ Note that an exit() or die() that is compiled 'hushed' because of "use vmsish" is not un-hushed by calling vmsish::hushed(0) at runtime. The messages from error exits from inside the Perl core are generally -more serious, and are not supressed. +more serious, and are not suppressed. =back diff --git a/os2/OS2/PrfDB/PrfDB.pm b/os2/OS2/PrfDB/PrfDB.pm index 328f4dc..aa2a906 100644 --- a/os2/OS2/PrfDB/PrfDB.pm +++ b/os2/OS2/PrfDB/PrfDB.pm @@ -213,7 +213,7 @@ OS2::PrfDB - Perl extension for access to OS/2 setting database. =head1 DESCRIPTION -The extention provides both high-level and low-level access to .ini +The extension provides both high-level and low-level access to .ini files. =head2 High level access diff --git a/os2/OS2/Process/Process.pm b/os2/OS2/Process/Process.pm index f849f49..69b362f 100644 --- a/os2/OS2/Process/Process.pm +++ b/os2/OS2/Process/Process.pm @@ -704,7 +704,7 @@ Set to 1 for 32-bit executable files. file_type() may croak with one of the strings C<"Invalid EXE signature"> or C<"EXE marked invalid"> to indicate typical error conditions. If given non-absolute path, will look on C, will -add extention F<.exe> if no extension is present (add extension F<.> +add extension F<.exe> if no extension is present (add extension F<.> to suppress). =item C<@list = process_codepages()> @@ -787,7 +787,7 @@ gets a buffer with characters and attributes of the screen. =item C restores the screen given the result of screen(). E.g., if the file -C<$file> contains the sceen contents, then +C<$file> contains the screen contents, then open IN, $file or die; binmode IN; @@ -1102,7 +1102,7 @@ Set visible/hidden flag of the window. Default: $show is TRUE. Set window visibility state flag for the window for subsequent drawing. No actual drawing is done at this moment. Use C when redrawing is needed. While update is disabled, changes to the "window -state" do not change the appearence of the window. Default: $update is TRUE. +state" do not change the appearance of the window. Default: $update is TRUE. (What is manipulated is the bit C of the window style.) @@ -1147,7 +1147,7 @@ message id $msg, they default to 0. E.g., PostMsg $hwnd, WM_CLOSE; PostMsg $hwnd, WM_QUIT; -In fact, MPFROMSHORT() may be omited above. +In fact, MPFROMSHORT() may be omitted above. For messages to other processes, messages which take/return a pointer are not supported. diff --git a/pod/checkpods.PL b/pod/checkpods.PL index 610aad8..1466fb9 100644 --- a/pod/checkpods.PL +++ b/pod/checkpods.PL @@ -66,7 +66,7 @@ $exit = $last_unempty = 0; while (<>) { s/(\012|\015\012|\015)$//; if (/^=(\S+)/ && $directive{$1} && $last_unempty) { - printf "%s: line %5d, no blank line preceeding directive =%s\n", + printf "%s: line %5d, no blank line preceding directive =%s\n", $ARGV, $., $1; $exit = 1; } diff --git a/pod/pod2usage.PL b/pod/pod2usage.PL index 1b14c17..a007cf6 100644 --- a/pod/pod2usage.PL +++ b/pod/pod2usage.PL @@ -114,7 +114,7 @@ usage mesage format (defaults to standard input). B will read the given input file looking for pod documentation and will print the corresponding usage message. -If no input file is specifed than standard input is read. +If no input file is specified than standard input is read. B invokes the B function in the B module. Please see L. diff --git a/utils/h2xs.PL b/utils/h2xs.PL index a9ff420..20fa9c3 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -352,7 +352,7 @@ also the section on L>. Suppose that you have some C files implementing some functionality, and the corresponding header files. How to create an extension which -makes this functionality accessable in Perl? The example below +makes this functionality accessible in Perl? The example below assumes that the header files are F and I, and you want the perl module be named as C. If you need some preprocessor directives and/or diff --git a/win32/bin/pl2bat.pl b/win32/bin/pl2bat.pl index 6e0f166..2b5bb4a 100644 --- a/win32/bin/pl2bat.pl +++ b/win32/bin/pl2bat.pl @@ -219,7 +219,7 @@ use B. The generated batch file is initially processed as a batch file each time it is run. This means that, to use it from within another batch -file you should preceed it with C or else the calling batch +file you should precede it with C or else the calling batch file will not run any commands after the script: call script [args] diff --git a/wince/bin/pl2bat.pl b/wince/bin/pl2bat.pl index cdbac6f..d70a316 100644 --- a/wince/bin/pl2bat.pl +++ b/wince/bin/pl2bat.pl @@ -218,7 +218,7 @@ use B. The generated batch file is initially processed as a batch file each time it is run. This means that, to use it from within another batch -file you should preceed it with C or else the calling batch +file you should precede it with C or else the calling batch file will not run any commands after the script: call script [args] diff --git a/wince/comp.pl b/wince/comp.pl index 83f31d0..3fab27c 100644 --- a/wince/comp.pl +++ b/wince/comp.pl @@ -20,7 +20,7 @@ and perl comp.pl --do cecopy pc:..\lib\Exporter.pm ce:[p]\lib --copy copies file to CE device - here also [p] will be expanded to corrent PerlCE path, and additionally + here also [p] will be expanded to current PerlCE path, and additionally when --copy=compact specified then, if filename looks like perl module, then POD will be stripped away from that file modules -- 2.7.4