This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bring perldiag/‘Assigning non-zero to $[’ closer to reality
authorFather Chrysostomos <sprout@cpan.org>
Thu, 15 Dec 2011 04:10:08 +0000 (20:10 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 16 Dec 2011 00:15:30 +0000 (16:15 -0800)
Or closer to what will imminently be its reality

pod/perldiag.pod

index 6a05c18..6f0a77f 100644 (file)
@@ -240,8 +240,8 @@ spots.  This is now heavily deprecated.
 
 =item Assigning non-zero to $[ is no longer possible
 
-(F) The special variable C<$[>, deprecated in older perls, is now a fixed
-zero value, because the feature that it used to control has been removed.
+(F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>)
+the special variable C<$[>, which is deprecated, is now a fixed zero value.
 
 =item Assignment to both a list and a scalar