in reply to Re: Truncating Last Sentencein thread Truncating Last Sentence
Actually, s/\.[^.]+$/./; says to match a period followed by one or more non-periods anchored at the end of a line. See perlre for more information.