title: Is it a good idea to strip spaces from email addresses?
body: <p>I sometimes have messages from users saying that they can't log in. Most often I have found it's because they inadvertently added a space either before or after their email.</p>
  
  <p>Is it a good idea to automatically strip spaces from emails on log in or on any form entry?</p>
  
  <pre><code>$email =~ s/\s//g; #strip all spaces out
  </code></pre>