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.
.desrever si txet eritne ehT
.backwards are (letters the not but) words the Only
ehT sdrow era ni redro, tub eht srettel era eht rehto yaw.
Who ndees baacdkrws wehn you have Tceilmopgyya?
?wdors reeersvd up meixd about How
.tusnnmihep rof nuttolg a m'I
Results (437 votes). Check out past polls.