If you want to trim and flatten internal white space, that is crunch. https://metacpan.org/pod/String::Util#crunch-string
In reply to Re: Chomp not working
by codiac
in thread Chomp not working
by sandy105
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |