in reply to reading lines from a text file
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" } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reading lines from a text file
by misba (Initiate) on Dec 27, 2008 at 09:49 UTC | |
by Corion (Patriarch) on Dec 27, 2008 at 09:51 UTC | |
by misba (Initiate) on Dec 27, 2008 at 10:53 UTC | |
by ikegami (Patriarch) on Dec 27, 2008 at 11:13 UTC | |
by baxy77bax (Deacon) on Dec 27, 2008 at 11:36 UTC |