in reply to Re^3: Ignoring lines in flat text file
in thread Ignoring lines in flat text file
My goal is to preserve any line starting with a 2 and write it to output as well as writing any line where positions 14-16 are not 800, 866, 877 or 888. While the logic appears sound to me it does not make sense why these lines are not written to the output. BTW I really appreciate your help.if ( $line !~ m/^2/ ) { . . . else { print OUTPUT $line . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Ignoring lines in flat text file
by ikegami (Patriarch) on Sep 11, 2007 at 18:38 UTC | |
|