projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdbfc51
)
perldiag: Add the elliptical variant of strict refs error
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 23 Jun 2013 20:53:36 +0000
(13:53 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 23 Jun 2013 20:53:36 +0000
(13:53 -0700)
So that diagnostics.pm can find it.
pod/perldiag.pod
patch
|
blob
|
history
diff --git
a/pod/perldiag.pod
b/pod/perldiag.pod
index
07fc417
..
779da45
100644
(file)
--- a/
pod/perldiag.pod
+++ b/
pod/perldiag.pod
@@
-1283,6
+1283,8
@@
test the type of the reference, if need be.
=item Can't use string ("%s") as %s ref while "strict refs" in use
+=item Can't use string ("%s"...) as %s ref while "strict refs" in use
+
(F) You've told Perl to dereference a string, something which
C<use strict> blocks to prevent it happening accidentally. See
L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$>