This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa949d
)
constant.pm: Note that list constants are not
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 11 Aug 2013 21:10:54 +0000
(14:10 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 12 Aug 2013 08:53:27 +0000
(
01:53
-0700)
dist/constant/lib/constant.pm
patch
|
blob
|
blame
|
history
diff --git
a/dist/constant/lib/constant.pm
b/dist/constant/lib/constant.pm
index
ee5e376
..
5767728
100644
(file)
--- a/
dist/constant/lib/constant.pm
+++ b/
dist/constant/lib/constant.pm
@@
-368,6
+368,8
@@
used.
=head1 CAVEATS
List constants are not inlined unless you are using Perl v5.20 or higher.
+In v5.20 or higher, they are still not read-only, but that may change in
+future versions.
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.