in reply to Using punctuation to split a text

To focus on the flummoxing part, you're talking about whenever a lowercase letter is immediately followed by an uppercase letter (with nothing in between)?

did

@sentences=split([.!?\L], $text);
work for you?

First off I think you'd need regexp slashes around the brackets to make sure you're talking about a character class, which will make sure that Perl interprets the . and ? literally. Secondly, I don't understand how \L works within a character class, especially when not followed by \E.

_________________________________________________________________________________

I like computer programming because it's like Legos for the mind.