diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-10-18 01:01:11 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2018-09-26 13:00:19 +0100 |
commit | c22e17d0af032be4fb2cd747c9bb7a7622e3ba64 (patch) | |
tree | 9781a06bc165ea4ee0c1148a07e0d551ada81a4d /pod/perlvar.pod | |
parent | b48c08b9845692aded457ece78aa7d05316e9be3 (diff) | |
download | perl-c22e17d0af032be4fb2cd747c9bb7a7622e3ba64.tar.gz |
Remove support for setting $[ to a non-zero value
This removes arybase and all its surrounding machinery.
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 114a7e0d12..5faea28062 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -2371,19 +2371,16 @@ scopes in the same file, unlike other compile-time directives (such as L<strict>). Using local() on it would bind its value strictly to a lexical block. Now it is always lexically scoped. -As of Perl v5.16.0, it is implemented by the L<arybase> module. See -L<arybase> for more details on its behaviour. +As of Perl v5.16.0, it is implemented by the L<arybase> module. -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. +As of Perl v5.30.0, or 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 v5.12.0. -Assigning a non-zero value be fatal in Perl v5.30.0. - =back =cut |