in reply to How do I completely remove an element from an array?

I like using grep for this.

@array = grep { $_ != $element_omitted } @array;
(Be sure to use a test appropriate to the values in your array!)