Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Strings mangled on printingby RonW (Parson) |
on Jun 04, 2015 at 17:02 UTC ( [id://1129077]=note: print w/replies, xml ) | Need Help?? |
Also note that $inp =~ s/\s+$//; will remove all trailing white space, including newlines (\n) and returns (\r). Update: Correct typo (per reply).
In Section
Seekers of Perl Wisdom
|
|