$a="aaa"; $b=""; if($a=~/$b/){print "I found $b in $a\n";} else(print "I didn't find $b in $a\n";} If $a is somthing and $b is nothing I don't want to find nothing in something... How do I make it print "I didn't find $b in $a ....
In reply to Don't want to match nothing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |