summaryrefslogtreecommitdiff
path: root/dist/constant
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-06-30 00:26:46 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-07-25 23:48:02 -0700
commitc5a244126ea279edfba2249f1eea5b8c9af43513 (patch)
treeea3a4c8cee1df39fbd998db3dd2e7d11048f11cf /dist/constant
parentf815dc14d7c5540dfb5d02d001e0101c6266f281 (diff)
downloadperl-c5a244126ea279edfba2249f1eea5b8c9af43513.tar.gz
Update constant.pm to reflect list inlinement
I also removed ‘some symbols may be redefined without generating a warning’. I know not to what it refers. It has been there as long as constant.pm has. If a constant is clobbered by another constant with the same value, there is no warning, as it is harmless. That may be to what it refers, but we don’t need a caveat for that.
Diffstat (limited to 'dist/constant')
-rw-r--r--dist/constant/lib/constant.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/dist/constant/lib/constant.pm b/dist/constant/lib/constant.pm
index f947117a7a..378522a2d5 100644
--- a/dist/constant/lib/constant.pm
+++ b/dist/constant/lib/constant.pm
@@ -366,8 +366,7 @@ used.
=head1 CAVEATS
-In the current version of Perl, list constants are not inlined
-and some symbols may be redefined without generating a warning.
+List constants were not inlined unless you are using Perl v5.20 or higher.
It is not possible to have a subroutine or a keyword with the same
name as a constant in the same package. This is probably a Good Thing.