String::Trim trims whitespace off your strings. chomp trims only
$/ (typically, that's newline), but trim will trim all leading and
trailing whitespace.

Homepage:
https://metacpan.org/release/String-Trim
