in reply to Re: how to extract certain lines
in thread how to extract certain lines
while (<DATA>) { next unless /^HERE IS THE DATA/; my $line = <DATA>; print $line; } __DATA__ HERE IS THE DATA PLACED ABC; DO NOT ENTER PLACED BCD; HERE IS THE DATA PLACED ABC; WHO ARE U PLACED ABC; __OUTPUT__ PLACED ABC; PLACED ABC;
Neil
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to extract certain lines
by dee00zee (Novice) on Oct 26, 2004 at 04:52 UTC | |
by neilh (Pilgrim) on Oct 26, 2004 at 05:00 UTC | |
by Kalaspuff (Beadle) on Oct 26, 2004 at 11:12 UTC |