What does this do in perl?
here I guess the tag is a variable and it is checking for 9eaf.... but, does this exist in perl, I mean what is the "=~" sign doing here. and what is the "/" before and after 9eaf doing ??

 if($tag =~ /9eaf/ )
 {

do something
 
}

Please, let me know if someone has any clue about those two parameters.

Thanks
What does this do in perl?
===

here I guess the tag is a variable and it is checking for 9eaf.... but, does this exist in perl, I mean what is the "=~" sign doing here. and what is the "/" before and after 9eaf doing ??

 if($tag =~ /9eaf/ )
 {

do something
 
}

Please, let me know if someone has any clue about those two parameters.

Thanks