![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Chomp not workingby codiac (Beadle) |
on Sep 29, 2014 at 01:03 UTC ( #1102306=note: print w/replies, xml ) | Need Help?? |
If you want to remove leading and trailing white space, that is trim. https://metacpan.org/pod/String::Util#trim-string
If you want to trim and flatten internal white space, that is crunch. https://metacpan.org/pod/String::Util#crunch-string
In Section
Seekers of Perl Wisdom
|
|