for (1..2) { if ('ab' =~ /a/) { print("match\n"); } else { print("no match\n"); } }