in reply to Pop/shift/delete on array

The push and pop functions act at the high-index end of an array. Shift and unshift act on the low-index end.

The delete operator doesn't really belong in the list. It removes pairs from a hash, but on an array it only undefines the value of an element. For arrays, splice is the corresponding operator.

After Compline,