summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/File/Glob/bsd_glob.c2
-rw-r--r--hints/ultrix_4.sh2
-rw-r--r--lib/Pod/Checker.pm6
-rw-r--r--lib/Pod/Find.pm2
-rw-r--r--pod/perltoc.pod2
-rwxr-xr-xt/pod/poderrs.t2
-rw-r--r--t/pod/poderrs.xr2
-rw-r--r--util.c2
-rw-r--r--wince/comp.pl2
-rw-r--r--x2p/find2perl.PL2
10 files changed, 12 insertions, 12 deletions
diff --git a/ext/File/Glob/bsd_glob.c b/ext/File/Glob/bsd_glob.c
index 6989df883c..83d71f0b0f 100644
--- a/ext/File/Glob/bsd_glob.c
+++ b/ext/File/Glob/bsd_glob.c
@@ -1209,7 +1209,7 @@ qprintf(const char *str, register Char *s)
#ifdef MACOS_TRADITIONAL
-/* Replace the last occurence of the pattern ":[^:]+::", e.g. ":lib::",
+/* Replace the last occurrence of the pattern ":[^:]+::", e.g. ":lib::",
with a single ':', if possible. It is not an error, if the pattern
doesn't match (we return -1), but if there are two consecutive colons
'::', there must be a preceding ':[^:]+'. Hence, a volume path like
diff --git a/hints/ultrix_4.sh b/hints/ultrix_4.sh
index f418ea18ee..aac5ce38f6 100644
--- a/hints/ultrix_4.sh
+++ b/hints/ultrix_4.sh
@@ -16,7 +16,7 @@ case "$optimize" in
esac
# Some users have reported Configure runs *much* faster if you
-# replace all occurences of /bin/sh by /bin/sh5
+# replace all occurrences of /bin/sh by /bin/sh5
# Something like:
# sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5
# Then run "sh5 Configure.sh5 [your options]"
diff --git a/lib/Pod/Checker.pm b/lib/Pod/Checker.pm
index 60d2fefd87..5aca76c7ac 100644
--- a/lib/Pod/Checker.pm
+++ b/lib/Pod/Checker.pm
@@ -202,7 +202,7 @@ These may not necessarily cause trouble, but indicate mediocre style.
=over 4
-=item * multiple occurence of link target I<name>
+=item * multiple occurrence of link target I<name>
The POD file has some C<=item> and/or C<=head> commands that have
the same text. Potential hyperlinks to such a text cannot be unique then.
@@ -646,7 +646,7 @@ sub name {
Add (if argument specified) and retrieve the nodes (as defined by C<=headX>
and C<=item>) of the current POD. The nodes are returned in the order of
-their occurence. They consist of plain text, each piece of whitespace is
+their occurrence. They consist of plain text, each piece of whitespace is
collapsed to a single blank.
=cut
@@ -767,7 +767,7 @@ sub end_pod {
keys %{$self->{_unique_nodes}})) {
$self->poderror({ -line => '-', -file => $infile,
-severity => 'WARNING',
- -msg => "multiple occurence of link target '$_'"});
+ -msg => "multiple occurrence of link target '$_'"});
}
## Print the number of errors found
diff --git a/lib/Pod/Find.pm b/lib/Pod/Find.pm
index 2b84b86d4f..111744b8df 100644
--- a/lib/Pod/Find.pm
+++ b/lib/Pod/Find.pm
@@ -334,7 +334,7 @@ List directories as they are searched
=back
-Returns the full path of the first occurence to the file.
+Returns the full path of the first occurrence to the file.
Package names (eg 'A::B') are automatically converted to directory
names in the selected directory. (eg on unix 'A::B' is converted to
'A/B'). Additionally, '.pm', '.pl' and '.pod' are appended to the
diff --git a/pod/perltoc.pod b/pod/perltoc.pod
index 5dbed238fd..5ffd019706 100644
--- a/pod/perltoc.pod
+++ b/pod/perltoc.pod
@@ -16575,7 +16575,7 @@ after =back
=item Warnings
-multiple occurence of link target I<name>, line containing nothing but
+multiple occurrence of link target I<name>, line containing nothing but
whitespace in paragraph, file does not start with =head, previous =item has
no contents, preceding non-item paragraph(s), =item type mismatch (I<one>
vs. I<two>), I<N> unescaped C<E<lt>E<gt>> in paragraph, Unknown entity, No
diff --git a/t/pod/poderrs.t b/t/pod/poderrs.t
index 1b92ede3bb..526c98b78e 100755
--- a/t/pod/poderrs.t
+++ b/t/pod/poderrs.t
@@ -177,7 +177,7 @@ bla is evil
blub is evil
-=head2 reoccurence
+=head2 reoccurrence
=over 4
diff --git a/t/pod/poderrs.xr b/t/pod/poderrs.xr
index a21efdbd76..327b2e0263 100644
--- a/t/pod/poderrs.xr
+++ b/t/pod/poderrs.xr
@@ -42,5 +42,5 @@
*** ERROR: unresolved internal link 'end with begin' at line 108 in file t/pod/poderrs.t
*** ERROR: unresolved internal link 'OoPs' at line 109 in file t/pod/poderrs.t
*** ERROR: unresolved internal link 'abc def' at line 113 in file t/pod/poderrs.t
-*** WARNING: multiple occurence of link target 'Misc' at line - in file t/pod/poderrs.t
+*** WARNING: multiple occurrence of link target 'Misc' at line - in file t/pod/poderrs.t
t/pod/poderrs.t has 33 pod syntax errors.
diff --git a/util.c b/util.c
index 572b9214b0..2668755617 100644
--- a/util.c
+++ b/util.c
@@ -752,7 +752,7 @@ Perl_fbm_instr(pTHX_ unsigned char *big, register unsigned char *bigend, SV *lit
/* start_shift, end_shift are positive quantities which give offsets
of ends of some substring of bigstr.
- If `last' we want the last occurence.
+ If `last' we want the last occurrence.
old_posp is the way of communication between consequent calls if
the next call needs to find the .
The initial *old_posp should be -1.
diff --git a/wince/comp.pl b/wince/comp.pl
index ea061ee280..83f31d09f3 100644
--- a/wince/comp.pl
+++ b/wince/comp.pl
@@ -15,7 +15,7 @@ and
--do Executes on local computer command that is presented by arguments
immediately following after --do
Most reason why you may want to execute script in this mode is that
- arguments preprocessed to replace [p] occurences into current perl
+ arguments preprocessed to replace [p] occurrences into current perl
location. Typically it is handy to run
perl comp.pl --do cecopy pc:..\lib\Exporter.pm ce:[p]\lib
diff --git a/x2p/find2perl.PL b/x2p/find2perl.PL
index 7b6834d70f..4c5df7da94 100644
--- a/x2p/find2perl.PL
+++ b/x2p/find2perl.PL
@@ -841,7 +841,7 @@ Like -print, but terminates with \0 instead of \n.
=item C<-exec OPTIONS ;>
-exec() the arguments in OPTIONS in a subprocess; any occurence of {} in
+exec() the arguments in OPTIONS in a subprocess; any occurrence of {} in
OPTIONS will first be substituted with the path of the current
file. Note that the command "rm" has been special-cased to use perl's
unlink() function instead (as an optimization). The C<;> must be passed as