I'm assuming you only want to delete the first Header 1 section.
while ( $line = <FILE> ) { # skip section 1 chomp; last if $line eq "END LIST"; } while ( $line = <FILE> ) { # do stuff with sections two and three }
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: match and remove across multiple lines
by TomDLux
in thread match and remove across multiple lines
by dr_jgbn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |