in reply to Re: How to split into paragraphs?
in thread How to split into paragraphs?

BrowserUk, see clarification above. I already have the entire string in a variable.

Replies are listed 'Best First'.
Re^3: How to split into paragraphs?
by BrowserUk (Patriarch) on Nov 16, 2006 at 12:39 UTC

    This works.

    print "'$_'" for split m[(?=^\w+?:)]sm, $data;

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.