JohnLucania
Programmer
sub CheckSeq {
return scalar grep /[^abceABCE]/, @CheckChar;
}
For this, I tried both below. What is wrong with it?
ok( @CheckChar =~ /[^abceABCE]*@/, "sequence composition checks" );
ok( @CheckChar =~ /[^abceABCE]/, "sequence composition checks" );
grep(/abd|ABD/i, @CheckChar );
Also, how do you 'test' this one?
jl
return scalar grep /[^abceABCE]/, @CheckChar;
}
For this, I tried both below. What is wrong with it?
ok( @CheckChar =~ /[^abceABCE]*@/, "sequence composition checks" );
ok( @CheckChar =~ /[^abceABCE]/, "sequence composition checks" );
grep(/abd|ABD/i, @CheckChar );
Also, how do you 'test' this one?
jl