in reply to Re^2: search log file with multiple word and count number of success
in thread search log file with multiple word and count number of success
found a way to solve my problem. Surprisely easy syntax
when i found out the answer but was thinking might help
some guy who is new to perl just like me. =)
Answer as below -
if ( $line =~/$month $day $year/ && $line =~ /error1/)
|
|---|