![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Answer: How do I completely remove an element from an array?by Bukowski (Deacon) |
on Oct 19, 2002 at 10:45 UTC ( #206499=note: print w/replies, xml ) | Need Help?? |
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)
In Section
Seekers of Perl Wisdom
|
|