in reply to strip until blank line
There is a very quick way to do this:
local $/ = ""; # set to paragraph mode
$bad_stuff = <FILE>; # reads in until first blank line
# .. $/ is then returned to it's previous
# value, and you can carry on reading from
# <FILE> line by line.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (444 votes). Check out past polls.