dbrock has asked for the wisdom of the Perl Monks concerning the following question:
Hello... I am having some trouble with a foreach loop... I think my if-logic is flawed... I was wondering if anyone mite see my mistake..? I am processing date selected files from a directory... Trying to process the logfile from today and yesterday... ie. files with a filestamp of 20030312 & 20030313... My if-logic failure seems to be processing the log file more than once. Do I need to exit from the foreach loop before I close the if {} ..?
I can provide more input to this question if needed...
Thank you... Darrick...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: If logic fails foreach mistake
by dga (Hermit) on Mar 13, 2003 at 20:41 UTC | |
|
Re: If logic fails foreach mistake
by jasonk (Parson) on Mar 13, 2003 at 20:43 UTC | |
by dga (Hermit) on Mar 13, 2003 at 20:48 UTC | |
|
Re: If logic fails foreach mistake
by Ineffectual (Scribe) on Mar 14, 2003 at 00:57 UTC | |
|
Re: If logic fails foreach mistake
by dbrock (Sexton) on Mar 14, 2003 at 16:23 UTC |