Ran through perltidy & perlcritic (--brual) and fixed EVERYTHING