Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    
  2. or download this
         12     my $seq =();
    
  3. or download this
         23       $o{$header} = "$seq";
    
    ...
         28     $header = "$line";
    
         33     $seq .= "$line";
    
  4. or download this
         35 #Q: How many times is the $search found inside all the hash va
    +lues??
    
    ...
         51     ###################
         52     # FOREACH LOOP END#
         53     ###################
    
  5. or download this
    my $hits;
    $hits += () = /$search/gi for values %o;
    my $contains = $hits;
    
  6. or download this
         68     if ($count) {
         69       my $ofound = ($hits)/($count);
         70     } elsif ($count ==0) {
         71     }
    
  7. or download this
         my $ofound;
         if ($count) {
           $ofound = ($hits)/($count);
         } elsif ($count ==0) {
         }
    
  8. or download this
         if ($count) {
           return $hits / $count;
         } elsif ($count ==0) {
         }