diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-21 00:54:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-21 00:54:14 +0000 |
commit | 779c5bc9b377ace543a8d55375152f3503319113 (patch) | |
tree | f54f44a76f5b98f5b51ba97b65636f9e83e8155d /pod | |
parent | 2ab1b4853ed375afa5dbf2299430175699d0452d (diff) | |
download | perl-779c5bc9b377ace543a8d55375152f3503319113.tar.gz |
restore sanity to "constant" references
p4raw-id: //depot/perl@2029
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 8ccb16b94b..4e09da0930 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1002,6 +1002,14 @@ for information on I<Mastering Regular Expressions>.) (W) You tried to do a connect on a closed socket. Did you forget to check the return value of your socket() call? See L<perlfunc/connect>. +=item Constant is not %s reference + +(F) A constant value (perhaps declared using the C<use constant> pragma) +is being dereferenced, but it amounts to the wrong type of reference. The +message indicates the type of reference that was expected. This usually +indicates a syntax error in dereferencing the constant value. +See L<perlsub/"Constant Functions"> and L<constant>. + =item Constant subroutine %s redefined (S) You redefined a subroutine which had previously been eligible for |