On 29 May 2001, Randal L. Schwartz wrote:
> Brett> Same thing. See 'perldoc -f delete'. It can be used on an
> Brett> array, array slice, hash or hash slice. Note that for an
> Brett> array, you will still need to 'shift' down all of the
> Brett> subsequent elements since delete does not automatically shift
> Brett> down the indices. See the documentation on the 'splice' and
> Brett> 'shift' functions. You may also want to see what 'pop' can do
> Brett> for you -- it pops off the end of the array (opposite of push),
> Brett> like for stack.
>
> Uh, careful. This got added to 5.6.1 to support pseudo-hashes and is
> probably coming back out when pseudo-hashes get removed in 5.10.
> ("Death to pseudo-hashes!")
Argh. I didn't realize that. Is this specifically delete on array
elements?
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]