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.
In reply to Re: strip until blank line
by quidity
in thread strip until blank line
by the_slycer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |