> > >Problem is I don't know how to escape the entire variable $value_a so that
> > >the . is not considered a quantifier.
> >
> > You have $value_a and $value_b in the wrong place in your example.
>
>
> Speaking of $a and $b, I seem to recall that both of those are special
> variables in that the
Jeff 'japhy' Pinyan wrote:
>
> On Feb 5, [EMAIL PROTECTED] said:
>
> >Problem is I don't know how to escape the entire variable $value_a so that
> >the . is not considered a quantifier.
>
> You have $value_a and $value_b in the wrong place in your example.
Speaking of $a and $b, I seem to rec
On Feb 5, [EMAIL PROTECTED] said:
>Problem is I don't know how to escape the entire variable $value_a so that
>the . is not considered a quantifier.
You have $value_a and $value_b in the wrong place in your example.
Use \Q...\E around $value_b.
if ($value_b =~ /\Q$value_a\E/) {
print "tr
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";