Always remove trailling whitespace and multiple whitespace chars

piece of wisdom:

>>> before you do anything, do this

=~ s/s+/ /g
=~ s/s+$//g

( unless of course space data is meaningful… )

Advertisements