From: Father Chrysostomos Date: Thu, 15 Dec 2011 05:43:38 +0000 (-0800) Subject: perlvar: document what $[ will do under use v5.16 X-Git-Tag: accepted/trunk/20130322.191538~1731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b54f8ab916fcdc5d786c40c36eddaeb542891f4;p=platform%2Fupstream%2Fperl.git perlvar: document what $[ will do under use v5.16 --- diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 68d2acf..63a4dc8 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 module. See L for more details on its behaviour. +Under C, or C, 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.