dew has asked for the wisdom of the Perl Monks concerning the following question:
Please help brain-locked. Thankssub BFPRCONS(){ $BFPRCONSCount = $BFPRCONSCount + 1; $BFPRCONSFileName = $job."_".$orgCycleNumber."_".$junk1."_".$filed +ate."_".$junk2; open (DATA, "<c:/Logs/FBF/$BFPRCONSFileName") or die "Couldn't ope +n, $!"; @lines = <DATA>; close (DATA); foreach (@lines){ chomp; $bfprconsindicator = substr($_, 0, 44); if ($bfprconsindicator eq "========== Summary of bfpr_catfl result +s ==="){ print "$_\n"; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stupid parsing question
by Fastolfe (Vicar) on Nov 27, 2001 at 21:28 UTC | |
by rje (Deacon) on Nov 27, 2001 at 22:29 UTC | |
|
(jeffa) Re: Stupid parsing question
by jeffa (Bishop) on Nov 27, 2001 at 21:06 UTC | |
by dew (Novice) on Nov 27, 2001 at 21:14 UTC | |
|
Re: Stupid parsing question
by Fletch (Bishop) on Nov 27, 2001 at 20:57 UTC | |
by dew (Novice) on Nov 27, 2001 at 23:31 UTC |