Hi All, Trying to figure out something that should be easy.. If $value_a contains $value_b then.... Problem is I don't know how to escape the entire variable $value_a so that the . is not considered a quantifier.
$value_a = ".com";
$vaue_b = "mycom.org";
if ( $value_a =~ $value_b ) {
print "true\n"
}
I tried m/$value_b/ig also
Thanks Paul D'Oyley
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
