perl - Pattern matching?

  • Thread starter Thread starter dave r
  • Start date Start date
D

dave r

Guest
open(LOG,'<log.txt');
for(;;){
while(<LOG>)
{
if($_=~m/azerty/i){

print "Found it";

}
}
}
close(LOG);
I have this code ... when I try to match the file with a word it doesn't work ..with no errors
 
Back
Top