JohnLucania
Programmer
use Test::Simple tests
print "Enter sequences: ";
chomp(@CheckChar= <STDIN>);
// when ‘abd’ (please note ‘ ‘) is entered, it gives me.
ok( grep(/abd|ABD/i, @CheckChar), "A word, 'abd', checks" );
ok 1 - A word, 'abd', checks
// when abd (please note w/o ‘ ‘) is entered, it gives me ‘Failed test’
print "Enter sequences: ";
chomp(@CheckChar= <STDIN>);
// when ‘abd’ (please note ‘ ‘) is entered, it gives me.
ok( grep(/abd|ABD/i, @CheckChar), "A word, 'abd', checks" );
ok 1 - A word, 'abd', checks
// when abd (please note w/o ‘ ‘) is entered, it gives me ‘Failed test’