mikevanhoff has asked for the wisdom of the Perl Monks concerning the following question:
# open(FILE,"dumptape.log") || die("Could open file"); $line = <FILE>; # while(<FILE>) { print if /Dump phase number 3/ ; } close FILE;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Finding and extracting lines of text
by Cine (Friar) on Jul 29, 2003 at 20:35 UTC | |
by Anonymous Monk on Jul 29, 2003 at 21:45 UTC | |
by Cine (Friar) on Jul 29, 2003 at 21:52 UTC | |
Re: Finding and extracting lines of text
by ajdelore (Pilgrim) on Jul 29, 2003 at 22:00 UTC | |
by mikevanhoff (Acolyte) on Jul 30, 2003 at 12:52 UTC | |
by swkronenfeld (Hermit) on Jul 30, 2003 at 16:58 UTC | |
by mikevanhoff (Acolyte) on Jul 30, 2003 at 21:09 UTC |