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:
7d345e3
)
perlvar: document what $[ will do under use v5.16
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 15 Dec 2011 05:43:38 +0000
(21:43 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 16 Dec 2011 00:15:31 +0000
(16:15 -0800)
pod/perlvar.pod
patch
|
blob
|
history
diff --git
a/pod/perlvar.pod
b/pod/perlvar.pod
index
68d2acf
..
63a4dc8
100644
(file)
--- a/
pod/perlvar.pod
+++ b/
pod/perlvar.pod
@@
-2103,6
+2103,10
@@
block. Now it is always lexically scoped.
As of Perl 5.16, it is implemented by the L<arybase> module. See
L<arybase> for more details on its behaviour.
+Under C<use v5.16>, or C<no feature "array_base">, C<$[> no longer has any
+effect, and always contains 0. Assigning 0 to it is permitted, but any
+other value will produce an error.
+
Mnemonic: [ begins subscripts.
Deprecated in Perl 5.12.