> How to test for exact string match? > > this doesn't work: > > $mystr == "exactstr"
You've already got the numeric use of == explained and eq but no body showed you the
regex that
Lets you anchor it and do case sensitivity etc...
if($mystr =~ m/^exactstr$/) { print 'Ye haw it matches!'; }
HTH
Dan
>
> thanks
> -rkl
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
