in reply to Re: Monk Specs.?
in thread Monk Specs.?
firstly, you're reading from and printing to the same filehandle, probably a typo. it should print LOGFILE;. secondly, it's only printing lines that match the date, instead of printing all lines from the matched date until the end of the file.while ( <LOG> ) { if ( /$date/ ) { print <LOG>; } }
~Particle
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Monk Specs.?
by talexb (Chancellor) on Jan 16, 2002 at 20:41 UTC |