mantra2006 has asked for the wisdom of the Perl Monks concerning the following question:
# Check the log file to determine scp success or failure open(MYLOG, "$log_file") or die "Can't open the log file $log_file"; @raw_data=<MYLOG>; close MYLOG; foreach $line (@raw_data){ print $line; # I am struck for logic comparing words... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading lines and matching words
by Old_Gray_Bear (Bishop) on Apr 11, 2007 at 20:09 UTC | |
|
Re: Reading lines and matching words
by duff (Parson) on Apr 11, 2007 at 20:09 UTC | |
|
Re: Reading lines and matching words
by RobPayne (Chaplain) on Apr 11, 2007 at 20:11 UTC | |
by mantra2006 (Hermit) on Apr 12, 2007 at 12:53 UTC |