The other day there was a lengthy bike shedding on how to trim spaces on both ends of a string on
LinkedIn (I think you will need to be logged in to see that)
Today I saw another interesting one:
here.$mechanism =~ s/^\s*\b(.*)\b\s*$/$1/g;
What other interesting ones can we found in open source code? (share them with links, please)
Back to
Meditations