in reply to Extracting Data from a second line
Note this will read the lines below other 'keys' but will just pass them by.open(FH,"file"); while( <FH> ) { if (/red line/) { process(<FH>); } }
Not the most elegant or efficient but it does work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting Data from a second line
by Not_a_Number (Prior) on Feb 16, 2006 at 21:00 UTC |