[Bioperl-l] typo in perldoc of get_replaced_terms

Peng Yu pengyu.ut at gmail.com
Sat Jun 5 00:46:53 UTC 2010


On Fri, Jun 4, 2010 at 7:10 PM, Dave Messina <David.Messina at sbc.su.se> wrote:
> Please be sure to "reply all" so that this conversation stays on the mailing list.
>
>> Could you also take a look at the question in the original email? Thank you!
>
>
> Oops, missed that.
>
>> Also, I tried the following code. I'm not sure I got the following
>> error. Would you please let me know what I'm wrong?
>>
>> $ cat ./get_replaced_terms/main.pl
>> #!/usr/bin/env perl
>>
>> use strict;
>> use warnings;
>>
>> use Bio::DB::EUtilities;
>>
>> my $factory = Bio::DB::EUtilities->new(-eutil => 'espell',
>>                         -term => 'brest cnacer',
>>                         -email => 'mymail at foo.bar'
>>                       );
>>
>> print "get_replaced_terms: ",$factory->get_replaced_terms,"\n";
>>
>> $  ./get_replaced_terms/main.pl
>> Use of uninitialized value in print at ./get_replaced_terms/main.pl line 13.
>> get_replaced_terms:
>
>
> I think you might have pasted two different examples together.

No. I want to try get_replaced_terms instead of get_corrected_query.
Could you give me an example in which get_replaced_terms is used?

-- 
Regards,
Peng




More information about the Bioperl-l mailing list