summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPiotr Fusik <pfusik@op.pl>2005-07-31 14:50:04 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-08-02 10:39:51 +0000
commit3c4b39bee8832007b7e91bfce8701d34cacab411 (patch)
tree190f72b72255db85e5c78f68a0d0047692aab3a9 /ext
parentdb30010093a0bacd16d1fa3fd1bd5397da6479d3 (diff)
downloadperl-3c4b39bee8832007b7e91bfce8701d34cacab411.tar.gz
Typos in *.p[lm]
From: "Piotr Fusik" <pfusik@op.pl> Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261
Diffstat (limited to 'ext')
-rw-r--r--ext/B/B/Asmdata.pm2
-rw-r--r--ext/B/B/Bblock.pm2
-rw-r--r--ext/B/B/CC.pm2
-rw-r--r--ext/B/B/Concise.pm2
-rw-r--r--ext/B/B/Deparse.pm2
-rw-r--r--ext/B/B/Terse.pm2
-rw-r--r--ext/B/t/OptreeCheck.pm6
-rw-r--r--ext/Compress/Zlib/Zlib.pm2
-rw-r--r--ext/DB_File/DB_File.pm2
-rw-r--r--ext/Digest/MD5/MD5.pm2
-rw-r--r--ext/Encode/Encode.pm4
-rw-r--r--ext/Encode/encoding.pm2
-rw-r--r--ext/Encode/lib/Encode/Alias.pm4
-rw-r--r--ext/IO/lib/IO/Dir.pm2
-rw-r--r--ext/IO/lib/IO/Poll.pm2
-rw-r--r--ext/IO/lib/IO/Socket/INET.pm2
-rw-r--r--ext/NDBM_File/NDBM_File.pm2
-rw-r--r--ext/ODBM_File/ODBM_File.pm2
-rw-r--r--ext/Opcode/Opcode.pm4
-rw-r--r--ext/Opcode/ops.pm2
-rw-r--r--ext/SDBM_File/SDBM_File.pm2
-rw-r--r--ext/Storable/Storable.pm6
-rw-r--r--ext/XS/APItest/APItest.pm6
-rw-r--r--ext/re/re.pm2
24 files changed, 33 insertions, 33 deletions
diff --git a/ext/B/B/Asmdata.pm b/ext/B/B/Asmdata.pm
index 17f18dc935..bd130fe540 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 908cc76055..ade81818d4 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 14ee6cf322..43064fbcbf 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 0798716b04..eacab350d9 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<B::Terse> module, but it is more
sophisticated and flexible.
diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm
index 081fe16c0c..5473b407da 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 cb2f63b463..d87b881f91 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<terse> 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 c6a58e5ea1..fa1a8252a0 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<wanted>.
=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 59d4b8c653..a831b4dc58 100644
--- a/ext/Compress/Zlib/Zlib.pm
+++ b/ext/Compress/Zlib/Zlib.pm
@@ -877,7 +877,7 @@ compressed data. Otherwise it returns I<undef>.
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<Z_NO_COMPRESSION>, C<Z_BEST_SPEED>,
C<Z_BEST_COMPRESSION>, and C<Z_DEFAULT_COMPRESSION>.
If B<$level> is not specified C<Z_DEFAULT_COMPRESSION> will be used.
diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm
index 40098e332f..6ddbc03809 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 87aa775b9f..a26b1c245f 100644
--- a/ext/Digest/MD5/MD5.pm
+++ b/ext/Digest/MD5/MD5.pm
@@ -202,7 +202,7 @@ Note that the C<digest> operation is effectively a destructive,
read-once operation. Once it has been performed, the C<Digest::MD5>
object is automatically C<reset> 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 079d1bd10b..672ab4b566 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<NOTE:> Not all encoding suppport this feature
+=item B<NOTE:> Not all encoding support this feature
Some encodings ignore I<CHECK> argument. For example,
L<Encode::Unicode> ignores I<CHECK> 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<CAVEAT> paragraphs.
diff --git a/ext/Encode/encoding.pm b/ext/Encode/encoding.pm
index b52280ffe8..df8758233e 100644
--- a/ext/Encode/encoding.pm
+++ b/ext/Encode/encoding.pm
@@ -402,7 +402,7 @@ B<use encoding> 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 7776096271..2ec8f9f088 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 e2551f19b0..c7de8b3fa8 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<new> is the constuctor for C<IO::Dir> objects. It accepts one optional
+C<new> is the constructor for C<IO::Dir> objects. It accepts one optional
argument which, if given, C<new> will pass to C<open>
=back
diff --git a/ext/IO/lib/IO/Poll.pm b/ext/IO/lib/IO/Poll.pm
index bc928b53c7..cd8da30692 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<poll>.
=item remove ( IO )
diff --git a/ext/IO/lib/IO/Socket/INET.pm b/ext/IO/lib/IO/Socket/INET.pm
index 01e24239b0..b4041b1f2c 100644
--- a/ext/IO/lib/IO/Socket/INET.pm
+++ b/ext/IO/lib/IO/Socket/INET.pm
@@ -319,7 +319,7 @@ C<IO::Socket::INET> 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<Listen> 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 a952af2354..e74ca2e292 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<ndbm store returned -1, errno 22, key "..." at ...>
-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 e9bdce5c69..d23d3727ba 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<odbm store returned -1, errno 22, key "..." at ...>
-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 179da04557..9394734192 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<very> 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 8a7a200665..113445f29c 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 6fda489386..e83a814ded 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<sdbm store returned -1, errno 22, key "..." at ...>
-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 5a5eedc97c..03f50d977b 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<B::Deparse>. 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<eval>, 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<STORABLE_attach> I<class>, I<cloning>, I<serialized>
While C<STORABLE_freeze> and C<STORABLE_thaw> 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<croak()> 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 5a00b31bcd..73cba40b69 100644
--- a/ext/XS/APItest/APItest.pm
+++ b/ext/XS/APItest/APItest.pm
@@ -160,17 +160,17 @@ the function; for example
=item B<eval_sv>
-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<call_sv()> etc.
=item B<eval_pv>
-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<require_pv>
-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 edc6cb8eb7..bd22948ef4 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<perlre/(?{ code })>.
+disallowed with tainted regular expressions. See L<perlre/(?{ code })>.
For the purpose of this pragma, interpolation of precompiled regular
expressions (i.e., the result of C<qr//>) is I<not> considered variable