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/)
In reply to Re^3: search log file with multiple word and count number of success
by steadybompipi
in thread search log file with multiple word and count number of success
by steadybompipi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |