in reply to print line containing string
It sounds like you are "slurping" the whole file at once. Check the value of $/ (input record separator) when you read in your file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print line containing string
by Anonymous Monk on May 06, 2010 at 14:12 UTC | |
by Anonymous Monk on May 06, 2010 at 16:05 UTC |