in reply to Perl Regex Multiline Matching

while(<DATA>) { ... processes the file line by line -- as does m// ... m // -- so how could your regex possibly match multiple lines?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Perl Regex Multiline Matching
by yoda54 (Monk) on Oct 14, 2016 at 00:35 UTC
    Thanks!