{ local $/ = ""; # two or more newlines in a row @stanzas = ; } # or { local $/ = "\n\n"; # two newlines in a row @chunks = ; # you might not get the same results }