Perhaps this is what you want:
while ( $line = <FH> ) { if ( $line =~ /$SearchString/ ... $line =~ /$SearchString/ ) { "continue reading lines until I reach the same search string +second time" } }
In reply to Re: reading lines from a text file
by jwkrahn
in thread reading lines from a text file
by misba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |