Help for this page
my $type; if ($B1=~ /^\*/ || $B2=~ /^\*/) { ... } else { $type = "I"; }
my $type = $B1 =~ /^\*/ || $B2 =~ /^\*/ ? "S" : "I";
my $type = grep(/^\*/, $B1, $B2) ? "S" : "I";