http://qs321.pair.com?node_id=124970

Spliter has asked for the wisdom of the Perl Monks concerning the following question:

I want to be able to find the empty elements in an array because I know the array I am generating will have empty elements. When I say empty elemts I mean if I print out all the elements in the array at the promt I get this:
e1 e2 <--- this is an empty string element e3 <--- this is another e4
How do I write a loop that will find these empty string elements? Then, how do I remove them from the array once I have found them?