Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    
    print "Sequence is ", in_sequence($seq1)?"good":"bad", "\n";
    print "Sequence is ", in_sequence($seq2)?"good":"bad", "\n";
    
  2. or download this
    use strict;
    
    ...
    print "Sequence is ", in_sequence_debug($seq1)?"good":"bad", "\n";
    print "-"x40, "\n";
    print "Sequence is ", in_sequence_debug($seq2)?"good":"bad", "\n";
    
  3. or download this
    Value of OK is 1
    a - a Ok
    ...
    d - e Ok
    Value of OK is 1
    Sequence is good
    
  4. or download this
    use strict;
    
    ...
    print "Sequence is ", in_sequence_debug($seq1)?"good":"bad", "\n";
    print "-"x40, "\n";
    print "Sequence is ", in_sequence_debug($seq2)?"good":"bad", "\n";
    
  5. or download this
    Value of OK is 1
    a - a Ok
    ...
    d - e Ok
    Value of OK is 0
    Sequence is bad