|
chomp by default removes new lines from the end of the string.
anyway this is what you're looking for:
$x =~ s/^\s+//g; for beginning
$x =~ s/\s+$//g; for ending.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
|