Regards.my $counter = 0; my $dateRX = qr/^$date/; # assuming $date is defined elsewhere while (<LOG>){ last if /$dateRX/; $counter++; } print LOGFILE $_ while (<LOG>); #assuming LOGFILE was opened earlier i +n your code
In reply to Re: Monk Specs.?
by Anonymous Monk
in thread Monk Specs.?
by draper7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |