diff options
author | Abhijit Menon-Sen <ams@wiw.org> | 2002-06-03 17:06:03 +0000 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2002-06-03 17:06:03 +0000 |
commit | fb8eeed8cb12743f5c60d9d4d0405913307f1b9b (patch) | |
tree | 785c993b0ceea0d776a8895940d29348d5c3aee9 /lib | |
parent | 21c5e947e5a68781b3973bfef39ecf5b371d4130 (diff) | |
download | perl-fb8eeed8cb12743f5c60d9d4d0405913307f1b9b.tar.gz |
Remove all occurrences of occurence, except for one (in the
Changelog) that is preserved for historical reasons.
p4raw-id: //depot/perl@16979
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Pod/Checker.pm | 6 | ||||
-rw-r--r-- | lib/Pod/Find.pm | 2 |
2 files changed, 4 insertions, 4 deletions
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 |