avoid accidental #line directives (from Rick Delaney
[p5sagit/p5-mst-13.2.git] / pod / perldelta.pod
index 740a2fb..ad4a8e7 100644 (file)
@@ -549,15 +549,17 @@ The exists() and delete() builtins now work on simple arrays as well.
 The behavior is similar to that on hash elements.
 
 exists() can be used to check whether an array element has been
-initialized without autovivifying it.  If the array is tied, the
-EXISTS() method in the corresponding tied package will be invoked.
+initialized.  This avoids autovivifying array elements that don't exist.
+If the array is tied, the EXISTS() method in the corresponding tied
+package will be invoked.
 
 delete() may be used to remove an element from the array and return
 it.  The array element at that position returns to its unintialized
 state, so that testing for the same element with exists() will return
 false.  If the element happens to be the one at the end, the size of
-the array also shrinks by one.  If the array is tied, the DELETE() method
-in the corresponding tied package will be invoked.
+the array also shrinks up to the highest element that tests true for
+exists(), or 0 if none such is found.  If the array is tied, the DELETE() 
+method in the corresponding tied package will be invoked.
 
 See L<perlfunc/exists> and L<perlfunc/delete> for examples.