summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 68d2acff98..63a4dc8e60 100644
--- 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.