http://www.perlmonks.org?node_id=43011


in reply to Re: strip until blank line
in thread strip until blank line

Using next here will start the next iteration of the while loop. You want to use last instead. Hmmm, which you've now done. This post looks silly now.