- or download this
while(<LOG>){
next unless /$date/ .. eof(LOG);
print LOGFILE;
}
- or download this
my @input = <LOG>;
foreach (@input) {
next unless /$date/ .. undef;
print LOGFILE;
}
- or download this
my @input = <LOG>;
{
...
print LOGFILE if $found;
}
}