[Bioperl-l] Tests - Can other people report make test results:

Ewan Birney birney@ebi.ac.uk
Tue, 8 Jan 2002 14:18:44 +0000 (GMT)


Weird. Looks ok from here. 


Are you working from cvs.bioperl.org (read only) or read/write?


Does your function look like:



sub frac_identical {
   my ($self, $type,$value) = @_;

   $type = lc $type if defined $type;
   $type = 'total' if( ! defined $type ||
		       $type !~ /query|hit|total/); 
   my $previous = $self->{'_frac_identical'}->{$type};
   if( defined $value || ! defined $previous ) { 
       $value = $previous = '' unless defined $value;
       if( $type eq 'hit' || $type eq 'query' ) {
	   $self->$type->frac_identical( $value);
       }
       $self->{'_frac_identical'}->{$type} = $value;
   } 
   return $previous;   

}



Perhaps Perl 5.00503 needs () around (defined $value)


Ideas anyone?



-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------