title: Removing blank elements from an array
body: <p>In my Perl code, I am accessing an email. I need to fetch the table in it and parse it into an array.
  I did it using:</p>
  
  <pre><code>my @plain = split(/\n/,$plaintext);
  </code></pre>
  
  <p>However, there are many blank elements in <code>@plain</code>. It has 572 elements and about half of them are empty.</p>
  
  <p>Am I doing anything wrong here? What do I need to add/change in my code to get rid of the blank elements?</p>