in reply to Re: How do I completely remove an element from an array?
in thread How do I completely remove an element from an array?
splice:
splice ARRAY, OFFSET, LENGTH, LIST
removes the elements designated by OFFSET and LENGTH and replaces them with the contents of LIST
Also you'd be wise not to forget delete which deletes an element (or a slice of elements) from a specified hash or array.
Bukowski - aka Dan (dcs@black.hole-in-the.net)
"Coffee for the mind, Pizza for the body, Sushi for the soul"
-Userfriendly
In Section
Seekers of Perl Wisdom