summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-18 09:19:46 -0700
committerKarl Williamson <public@khwilliamson.com>2014-02-18 09:24:22 -0700
commit1c604e7c7f7b510f20ef069f870edef1578207fe (patch)
tree429ce49a6af1bcb93f72f265080b6949fb9656d9
parent5a33c1159d9cfb778802024f1f7da507e22f8699 (diff)
downloadperl-1c604e7c7f7b510f20ef069f870edef1578207fe.tar.gz
Fix pod errors
-rw-r--r--mg.c2
-rw-r--r--pod/perldelta.pod2
-rw-r--r--pod/perldiag.pod2
-rw-r--r--t/porting/known_pod_issues.dat1
4 files changed, 3 insertions, 4 deletions
diff --git a/mg.c b/mg.c
index c9bded4e0b..380e9ccb83 100644
--- a/mg.c
+++ b/mg.c
@@ -2769,7 +2769,7 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
);
}
} else {
- /* diag_listed_as: Setting $/ to %s reference is forbidden */
+ /* diag_listed_as: Setting $/ to a %s reference is forbidden */
Perl_croak(aTHX_ "Setting $/ to a%s %s reference is forbidden",
*reftype == 'A' ? "n" : "", reftype);
}
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index a58b9953c7..7fcd909490 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -291,7 +291,7 @@ L<Digest::SHA> has been upgraded from version 5.85 to 5.87.
Improved the performance of hexadecimal output functions and simplified capture
of intermediate SHA states, which can now be done via strings (see
-C<getstate()>/C<putstate()>).
+C<L<getstate()|Digest::SHA/getstate>>/C<L<putstate()|Digest::SHA/putstate($str)>>).
=item *
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index c7c816356d..29ddca9e26 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -4993,7 +4993,7 @@ You are recommended to change your code to set C<$/> to C<undef> explicitly
if you wish to slurp the file. In future versions of Perl assigning
a reference to will throw a fatal error.
-=item Setting $/ to %s reference is forbidden
+=item Setting $/ to a %s reference is forbidden
(F) You tried to assign a reference to a non integer to C<$/>. In older
Perls this would have behaved similarly to setting it to a reference to
diff --git a/t/porting/known_pod_issues.dat b/t/porting/known_pod_issues.dat
index c31cb382a6..7d74feeb02 100644
--- a/t/porting/known_pod_issues.dat
+++ b/t/porting/known_pod_issues.dat
@@ -234,7 +234,6 @@ pod/perlcygwin.pod Verbatim line length including indents exceeds 79 by 25
pod/perldebguts.pod Verbatim line length including indents exceeds 79 by 34
pod/perldebtut.pod Verbatim line length including indents exceeds 79 by 22
pod/perldebug.pod Verbatim line length including indents exceeds 79 by 3
-pod/perldelta.pod Apparent broken link 1
pod/perldsc.pod Verbatim line length including indents exceeds 79 by 4
pod/perldtrace.pod Verbatim line length including indents exceeds 79 by 26
pod/perlebcdic.pod Verbatim line length including indents exceeds 79 by 3