Help for this page

Select Code to Download


  1. or download this
    my ($a,$c,$g,$t) = (0, 0, 0, 0);
    
  2. or download this
    my $a = 0;
    my $c = 0;
    my $g = 0;
    my $t = 0;
    
  3. or download this
    sub comNucCount {
        my($string1, $string2) = @_;
    ...
    
        return "A=$counts{A}, C=$counts{C}, G=$counts{G}, T=$counts{T}";
    }
    
  4. or download this
    sub comNucCount {
        my($string1, $string2) = @_;
    ...
               map { "$_=$counts{$_}" }
               @letters;
    }