Change 17745 by [EMAIL PROTECTED] on 2002/08/20 16:27:01

        perldelta for #17727

Affected files ...

.... //depot/perl/pod/perldelta.pod#506 edit

Differences ...

==== //depot/perl/pod/perldelta.pod#506 (text) ====
Index: perl/pod/perldelta.pod
--- perl/pod/perldelta.pod#505~17644~   Fri Jul 19 11:55:18 2002
+++ perl/pod/perldelta.pod      Tue Aug 20 09:27:01 2002
@@ -11,6 +11,17 @@
 
 =head1 Core Enhancements
 
+=head2 Tied Arrays with Negative Array Indices
+
+Formerly, the indices passed to C<FETCH>, C<STORE>, C<EXISTS>, and
+C<DELETE> methods in tied array class were always non-negative.  If
+the actual argument was negative, Perl would call FETCHSIZE implicitly
+and add the result to the index before passing the result to the tied
+array method.  This behavior is now optional.  If the tied array class
+contains a package variable named C<$NEGATIVE_INDICES> which is set to
+a true value, negative values will be passed to C<FETCH>, C<STORE>,
+C<EXISTS>, and C<DELETE> unchanged.
+
 =head1 Modules and Pragmata
 
 =head1 Utility Changes
End of Patch.

Reply via email to