in reply to Re: Monk Specs.?
in thread Monk Specs.?

What does this code do? If the target date is found while looking through the log file, print the remainder of the log file.

Note quite. As soon as the date changes, your script as it stands will stop printing additional lines to the other logfile (which, according to the initial script, is addressed by the LOGFILE file handle). You are printing the records back into the original logfile!

I ++ you anyway, because apart from that your advice is faultless.

--
g r i n d e r
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u';

Replies are listed 'Best First'.
Re: Re:x2 Monk Specs.?
by talexb (Chancellor) on Jan 16, 2002 at 19:48 UTC
    Eeyow. I hate when that happens. OK, I change that line to print LOG_FILE <LOG>; My heart was in the right place. :)

    --t. alex

    "Of course, you realize that this means war." -- Bugs Bunny.