in reply to Re^2: reading lines from a text file
in thread reading lines from a text file
($nextline=~/$SearchString/)
Is it maybe that you have the comparison wrong? You are comparing whether $nextline matches /$SearchString/. I interpret your description as that you want to stay in the loop while $nextline does not match /$SearchString/:
($nextline!~/$SearchString/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reading lines from a text file
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 |