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
In reply to Re: Re: Monk Specs.?
by particle
in thread Monk Specs.?
by draper7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |