Perl: the Markov chain saw | |
PerlMonks |
Re: Monk Specs.?by talexb (Chancellor) |
on Jan 16, 2002 at 19:35 UTC ( [id://139219]=note: print w/replies, xml ) | Need Help?? |
In terms of a code review, I can give you the following suggestions and comments.
What does this code do? If the target date is found while looking through the log file, print the remainder of the log file. The print will continue until the file runs out. At that point the loop will continue, but the log file has run out, and the loop will exit. (This assumes that the data is sorted!) Study hard. :) --t. alex "Of course, you realize that this means war." -- Bugs Bunny. Update: Added LOG_FILE file handle that was missing from the original post, as indicated by replies after this note.
In Section
Seekers of Perl Wisdom
|
|