@sidchilling Could this function be replaced with [String::Util#trim](http://search.cpan.org/~miko/String-Util-1.21/lib/String/Util.pm#trim(string\))?