Suppose you don't want your array to have undef elements:
Put more complex tests in as desired...@array = grep {defined $_} @array;
In reply to Re (tilly) 1: removing x from a list
by tilly
in thread removing x from a list
by ashaman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |