in reply to Re: Trailing spaces
in thread Trailing spaces

Using s/\s*$// is not to be recommended, as that will always match (and hence do a substitution). Use of * means zero or more times. Use + instead.

-- Abigail