in reply to Re: Removing null values from within an array
in thread Removing null values from within an array

Removing array elements is easy.

If you want to remove the value without losing the slot, use delete. If you want to eleminate the slot and value together, use splice:

@a = qw( 0 1 2 3 4 5 6 ) # starting at position 2, delete 1 element splice @a, 2, 1 print join ", ", @a # generates the output : 0, 1, 3, 4, 5, 6

splice() can do lots more ...see perldoc -f splice

--
TTTATCGGTCGTTATATAGATGTTTGCA