[Bioperl-l] remoteblast result in text format

Damien Mattei Damien.Mattei@unice.fr
Thu, 07 Nov 2002 18:29:48 +0100


oops!

i understand now :-)

Damien

Wiepert, Mathieu wrote:
> $v is just a way to either print out messages or not.  So you can toggle whether you want the messages like
> "waiting ..."
> 
> Just a silly way to control that I guess, but nonetheless..
> 
> 
>>>>my $v = 1;
>>>
> 
> change to 0 and you can suppress all the messages to follow.
> 
> 
>>ok for init
>>
>>
>>>>my $str = Bio::SeqIO->new(-file=>'amino.fa' , '-format' => 
>>>>  print STDERR "waiting..." if( $v > 0 );
>>>
>>tested here
>>
>>
>>>>        print STDERR "." if ( $v > 0 );
>>>
>>tested again
>>
>>
>>>>        while ( my $hit = $result->next_hit ) {
>>>>          next unless ( $v > 0);
>>>
>>tested, $v is never modified in the program
>>
> 
> 


-- 
----------------------------
Damien Mattei
C.N.R.S / U.N.S.A - UMR 6549
mailto:mattei@unice.fr
http://www-iag.unice.fr/
----------------------------