http://www.perlmonks.org?node_id=361101


trim() magic