Fix total failure to work in some cases with Perl 5.18+
Add a .travis.yml file